From 07492e5553341ab39f6d0e5e678abcda34b025a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaros=C5=82aw=20Kruk?= Date: Wed, 3 Jan 2007 12:17:50 +0000 Subject: [PATCH] - use wesnothd user for game server Changed files: wesnothd.init -> 1.3 --- wesnothd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wesnothd.init b/wesnothd.init index dfdeacb..dc926b5 100644 --- a/wesnothd.init +++ b/wesnothd.init @@ -16,7 +16,7 @@ case "$1" in start) if [ ! -f /var/lock/subsys/wesnothd ]; then msg_starting wesnothd - daemon "su - nobody -s /bin/sh -c '/usr/bin/wesnothd &'" + daemon "su - wesnothd -s /bin/sh -c '/usr/bin/wesnothd -p 14999 &'" RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/wesnothd else -- 2.44.0