SOURCES: wesnothd.init - use wesnothd user for game server

jareq jareq at pld-linux.org
Wed Jan 3 13:17:56 CET 2007


Author: jareq                        Date: Wed Jan  3 12:17:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use wesnothd user for game server

---- Files affected:
SOURCES:
   wesnothd.init (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/wesnothd.init
diff -u SOURCES/wesnothd.init:1.2 SOURCES/wesnothd.init:1.3
--- SOURCES/wesnothd.init:1.2	Thu Dec  8 02:02:49 2005
+++ SOURCES/wesnothd.init	Wed Jan  3 13:17:50 2007
@@ -16,7 +16,7 @@
   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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/wesnothd.init?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list