]> git.pld-linux.org Git - packages/wesnoth.git/blobdiff - wesnothd.init
- release 15, rebuild against boost 1.70.0
[packages/wesnoth.git] / wesnothd.init
index cec1e2259eb668179c58534f922fcdf06c438d60..c73159718a8217b9dc530c22dd0d4a503dd7edaf 100644 (file)
@@ -14,7 +14,7 @@
 start() {
        if [ ! -f /var/lock/subsys/wesnothd ]; then
                msg_starting wesnothd
-               daemon "su - wesnothd -s /bin/sh -c '/usr/bin/wesnothd -p 14999 > /dev/null 2>&1 &'"
+               daemon --user wesnothd --fork '/usr/bin/wesnothd -p 14999 > /dev/null 2>&1'
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/wesnothd
        else
This page took 0.098713 seconds and 4 git commands to generate.