Package: gnocatan-meta-server
Version: 0.8.1.45-1
Severity: Minor
-- 
Please correct thestat-stop-daemon in order to run in background (read kernel 
documentation SAK.txt. Indeed if I make a SAK I kill gnocatan-meta-server). 
Add the -b option:

-------------------------------------------
/etc/init.d/gnokatan-meta-server

DAEMON=/usr/games/gnocatan-meta-server
ARGS="--quiet --chuid nobody --chuid nobody:nogroup"
test -x $DAEMON || exit 0

case "$1" in
        start)
                echo -n "Starting Gnocatan meta server: gnocatan-meta-server"
                start-stop-daemon -b --start $ARGS --exec $DAEMON -- -d
                echo "."
                ;;
        stop)
                echo -n "Stopping Gnocatan meta server: gnocatan-meta-server"
                start-stop-daemon --stop $ARGS --exec $DAEMON
                echo "."
                ;;
        restart|force-reload)
                echo -n "Restarting Gnocatan meta server: 
gnocatan-meta-server... "
                start-stop-daemon --stop --quiet --exec $DAEMON
                sleep 2
                start-stop-daemon -b --start $ARGS --exec $DAEMON -- -d
                echo "done."
                ;;
        *)
                echo "Usage: /etc/init.d/gnocatan-meta-server {start|stop|
restart|force-reload}"
                exit 1
                ;;
esac

exit 0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to