Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 343389
Collapse All | Expand All

(-)file_not_specified_in_diff (-14 / +9 lines)
Lines 19-25 Link Here
19
 	/usr/sbin/proftpd -t &>/dev/null
19
	/usr/sbin/proftpd -t &>/dev/null
20
 	if [ $? -ne 0 ] ; then
20
	if [ $? -ne 0 ] ; then
21
 		eerror "The ProFTPD configuration file /etc/proftpd/proftpd.conf is invalid! You have to"
21
		eerror "The ProFTPD configuration file /etc/proftpd/proftpd.conf is invalid! You have to"
22
 		eerror "fix your configuration in order to run the ProFTPD server. For more information"
22
		eerror "fix your configuration in order to run the ProFTPD server. For more information"
23
 		eerror "you may execute the ProFTPD configuration check '/usr/sbin/proftpd -t'."
23
		eerror "you may execute the ProFTPD configuration check '/usr/sbin/proftpd -t'."
24
 		return 2
24
		return 2
25
 	fi
25
	fi
26
--
Lines 47-50 Link Here
47
	if [ ! -f /var/run/proftpd/proftpd.pid ] ; then
48
		eerror "ProFTPD is not running."
49
		return 1
50
	fi
Line 53 Link Here
53
	kill -HUP `cat /var/run/proftpd/proftpd.pid` &>/dev/null
49
	start-stop-daemon --stop --quiet --signal HUP --oknodo \
54
--
50
		--pidfile /var/run/proftpd/proftpd.pid

Return to bug 343389