2 DAEMON=/usr/sbin/vsftpd
8 test -f $DAEMON || exit 0
14 echo -n "* starting $DESC: $NAME... "
15 if ! test -d $FTPDIR; then
21 start-stop-daemon -S -b -x $DAEMON -- $ARGS
25 echo -n "* stopping $DESC: $NAME... "
26 start-stop-daemon -K -x $DAEMON
30 echo "* restarting $DESC: $NAME... "
36 echo "Usage: $0 {start|stop|restart}"