19,25c19,25 < /usr/sbin/proftpd -t &>/dev/null < if [ $? -ne 0 ] ; then < eerror "The ProFTPD configuration file /etc/proftpd/proftpd.conf is invalid! You have to" < eerror "fix your configuration in order to run the ProFTPD server. For more information" < eerror "you may execute the ProFTPD configuration check '/usr/sbin/proftpd -t'." < return 2 < fi --- > /usr/sbin/proftpd -t &>/dev/null > if [ $? -ne 0 ] ; then > eerror "The ProFTPD configuration file /etc/proftpd/proftpd.conf is invalid! You have to" > eerror "fix your configuration in order to run the ProFTPD server. For more information" > eerror "you may execute the ProFTPD configuration check '/usr/sbin/proftpd -t'." > return 2 > fi 47,50d46 < if [ ! -f /var/run/proftpd/proftpd.pid ] ; then < eerror "ProFTPD is not running." < return 1 < fi 53c49,50 < kill -HUP `cat /var/run/proftpd/proftpd.pid` &>/dev/null --- > start-stop-daemon --stop --quiet --signal HUP --oknodo \ > --pidfile /var/run/proftpd/proftpd.pid