3 # start the freeside job queue daemon
5 #PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
6 DAEMON=/usr/local/bin/freeside-queued
8 DESC="freeside job queue daemon"
11 test -f $DAEMON || exit 0
17 echo -n "Starting $DESC: "
18 # start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid -b -m\
24 echo -n "Stopping $DESC: "
25 start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
32 # If the daemon can reload its config files on the fly
33 # for example by sending it SIGHUP, do it here.
35 # If the daemon responds to changes in its config file
36 # directly anyway, make this a do-nothing entry.
38 # echo "Reloading $DESC configuration files."
39 # start-stop-daemon --stop --signal 1 --quiet --pidfile \
40 # /var/run/$NAME.pid --exec $DAEMON
44 # If the "reload" option is implemented, move the "force-reload"
45 # option to the "reload" entry above. If not, "force-reload" is
46 # just the same as "restart".
54 # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
55 echo "Usage: $N {start|stop|restart|force-reload}" >&2