SOURCES: pptpd.init - fixed start using start-stop-daemon
gotar
gotar at pld-linux.org
Mon Feb 16 18:02:58 CET 2009
Author: gotar Date: Mon Feb 16 17:02:58 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed start using start-stop-daemon
---- Files affected:
SOURCES:
pptpd.init (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SOURCES/pptpd.init
diff -u SOURCES/pptpd.init:1.6 SOURCES/pptpd.init:1.7
--- SOURCES/pptpd.init:1.6 Thu Dec 8 02:02:49 2005
+++ SOURCES/pptpd.init Mon Feb 16 18:02:52 2009
@@ -36,8 +36,9 @@
start)
# Check if the service is already running?
if [ ! -f /var/lock/subsys/pptpd ]; then
+ is_no "$RC_LOGGING" && closefds=--closefds
msg_starting pptpd
- daemon pptpd -d
+ daemon $closefds /usr/sbin/pptpd -d
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/pptpd
else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pptpd.init?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list