SOURCES: gozerbot.init - gozerbot -U to switch user
glen
glen at pld-linux.org
Thu Nov 6 00:01:17 CET 2008
Author: glen Date: Wed Nov 5 23:01:17 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- gozerbot -U to switch user
---- Files affected:
SOURCES:
gozerbot.init (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/gozerbot.init
diff -u SOURCES/gozerbot.init:1.2 SOURCES/gozerbot.init:1.3
--- SOURCES/gozerbot.init:1.2 Wed Nov 5 23:44:21 2008
+++ SOURCES/gozerbot.init Thu Nov 6 00:01:11 2008
@@ -35,8 +35,7 @@
# Check if the service is already running?
if [ ! -f /var/lock/subsys/gozerbot ]; then
msg_starting gozerbot
- RC_LOGGING=no # shell version of daemon() can't do --fork and --user
- daemon --user gozerbot --fork --chdir /var/lib/gozerbot /usr/bin/gozerbot
+ daemon --fork /usr/bin/gozerbot -U gozerbot /var/lib/gozerbot
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/gozerbot
else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/gozerbot.init?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list