summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2010-06-21 00:46:41 +0000
committerLance Albertson <ramereth@gentoo.org>2010-06-21 00:46:41 +0000
commitb6edbddb02d8968fb8f4c60c58592ff3d1f9fd6c (patch)
tree2fcc948ae147367eb57343aec3381e5a531cc0e1 /net-misc/stunnel/files/stunnel.initd
parentRequire older version of flash for 64bit systems as newer versions dont provi... (diff)
downloadhistorical-b6edbddb02d8968fb8f4c60c58592ff3d1f9fd6c.tar.gz
historical-b6edbddb02d8968fb8f4c60c58592ff3d1f9fd6c.tar.bz2
historical-b6edbddb02d8968fb8f4c60c58592ff3d1f9fd6c.zip
Version bump, stablize 4.29-r1 & 4.31-r1, ebuild clean up, add 0.5s delay in init script to resolve bug #308931
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-misc/stunnel/files/stunnel.initd')
-rw-r--r--net-misc/stunnel/files/stunnel.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-misc/stunnel/files/stunnel.initd b/net-misc/stunnel/files/stunnel.initd
index e5bb3f0ca767..cf33c04f085c 100644
--- a/net-misc/stunnel/files/stunnel.initd
+++ b/net-misc/stunnel/files/stunnel.initd
@@ -38,6 +38,11 @@ start() {
if [ "${PROCLIST}" ] && kill -0 ${PROCLIST} 2> /dev/null ; then
ewarn " already running: ${file} "
elif ${DAEMON} ${ARGS} ; then
+ if ! test -f ${CHROOT}/${PIDFILE} ; then
+ # give the daemon time to create the pid file
+ # See bug #308931 for more details
+ sleep 0.5s
+ fi
if test -f ${CHROOT}/${PIDFILE} ; then
einfo " ${file}"
else