packages: greylistd/greylistd.init Wait longer and in background. This enti...

arekm arekm at pld-linux.org
Fri Mar 30 17:00:46 CEST 2012


Author: arekm                        Date: Fri Mar 30 15:00:46 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
Wait longer and in background. This entire thing is very ugly hack.

---- Files affected:
packages/greylistd:
   greylistd.init (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/greylistd/greylistd.init
diff -u packages/greylistd/greylistd.init:1.6 packages/greylistd/greylistd.init:1.7
--- packages/greylistd/greylistd.init:1.6	Tue May 30 13:40:40 2006
+++ packages/greylistd/greylistd.init	Fri Mar 30 17:00:41 2012
@@ -27,7 +27,7 @@
 		RETVAL=$?
 		if [ $RETVAL -eq 0 ]; then
 			touch /var/lock/subsys/greylistd
-			[ -n "$GREYLISTD_OWNER" ] && sleep 1 && chown $GREYLISTD_OWNER /var/run/greylistd/socket
+			[ -n "$GREYLISTD_OWNER" ] && ( sleep 10 && chown $GREYLISTD_OWNER /var/run/greylistd/socket ) &
 		fi
 	else
 		msg_already_running greylistd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/greylistd/greylistd.init?r1=1.6&r2=1.7



More information about the pld-cvs-commit mailing list