SOURCES: rsync.init - create pid file

arekm arekm at pld-linux.org
Mon Jul 28 10:55:36 CEST 2008


Author: arekm                        Date: Mon Jul 28 08:55:36 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- create pid file

---- Files affected:
SOURCES:
   rsync.init (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SOURCES/rsync.init
diff -u SOURCES/rsync.init:1.11 SOURCES/rsync.init:1.12
--- SOURCES/rsync.init:1.11	Fri Mar  7 19:41:52 2008
+++ SOURCES/rsync.init	Mon Jul 28 10:55:31 2008
@@ -31,7 +31,7 @@
 	# Start daemons.
 	if [ ! -f /var/lock/subsys/rsyncd ]; then
 		msg_starting rsyncd
-		daemon rsync --daemon ${RSYNC_OPTIONS}
+		daemon rsync --daemon --dparam=pidfile=/var/run/rsync.pid ${RSYNC_OPTIONS}
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/rsyncd
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rsync.init?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list