SOURCES: gozerbot.init - --user --fork --chdir
glen
glen at pld-linux.org
Wed Nov 5 23:44:27 CET 2008
Author: glen Date: Wed Nov 5 22:44:27 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- --user --fork --chdir
---- Files affected:
SOURCES:
gozerbot.init (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/gozerbot.init
diff -u SOURCES/gozerbot.init:1.1 SOURCES/gozerbot.init:1.2
--- SOURCES/gozerbot.init:1.1 Wed Nov 5 22:03:17 2008
+++ SOURCES/gozerbot.init Wed Nov 5 23:44:21 2008
@@ -35,7 +35,8 @@
# Check if the service is already running?
if [ ! -f /var/lock/subsys/gozerbot ]; then
msg_starting gozerbot
- daemon /usr/bin/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
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.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list