SVN: rc-scripts/trunk/rc.d/init.d/functions

gotar gotar at pld-linux.org
Tue Feb 17 18:23:48 CET 2009


Author: gotar
Date: Tue Feb 17 18:23:47 2009
New Revision: 10127

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
- added {waitname:+--name $waitname} to ssd, otherwise there's
  no way to start qpopperd and qpoppersd both at the same time
	/usr/sbin/qpoppersd already running.
- use long options names


Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Tue Feb 17 18:23:47 2009
@@ -612,10 +612,11 @@
 			/sbin/start-stop-daemon -q --start \
 				--nicelevel $nice \
 				${pidfile:+--pidfile $pidfile} \
-				${user:+-c $user} \
+				${makepid:+--make-pidfile} \
+				${user:+--chiud $user} \
 				${chdir:+--chdir "$chdir"} \
-				${fork:+-b} \
-				${makepid:+-m} \
+				${fork:+--background} \
+				${waitname:+--name $waitname} \
 				--exec "$prog" \
 				-- ${1:+"$@"}
 		else


More information about the pld-cvs-commit mailing list