3 # This file was automatically customized by debmake on Thu, 17 Aug 2000 18:02:18 +0200
5 # Written by Miquel van Smoorenburg <miquels@cistron.nl>.
6 # Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>.
7 # Modified for Debian by Christoph Lameter <clameter@debian.org>
9 PATH=/bin:/usr/bin:/sbin:/usr/sbin
10 DAEMON=/usr/sbin/betaftpd
11 # The following value is extracted by debstd to figure out how to generate
12 # the postinst script. Edit the field to change the way the script is
13 # registered through update-rc.d (see the manpage for update-rc.d!)
16 test -f $DAEMON || exit 0
20 start-stop-daemon --start --verbose --exec $DAEMON
23 start-stop-daemon --stop --verbose --exec $DAEMON
27 # If the daemon can reload its config files on the fly
28 # for example by sending it SIGHUP, do it here.
30 # If the daemon responds to changes in its config file
31 # directly anyway, make this a do-nothing entry.
33 # start-stop-daemon --stop --signal 1 --verbose --exec $DAEMON
37 # If the "reload" option is implemented, move the "force-reload"
38 # option to the "reload" entry above. If not, "force-reload" is
39 # just the same as "restart".
41 start-stop-daemon --stop --verbose --exec $DAEMON
43 start-stop-daemon --start --verbose --exec $DAEMON
46 echo "Usage: /etc/init.d/betaftpd {start|stop|restart|force-reload}"