From: Stefan Schantl Date: Thu, 6 Aug 2009 19:54:31 +0000 (+0200) Subject: Fixed loopback in some initscripts. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d666dd14eb58cec6b07d97e5dda0c2d774eb956;p=ipfire-3.x.git Fixed loopback in some initscripts. I've fixed the loopback in the following initscripts: * fcron.conf * haldaemon.conf * openldap.conf So I activate the respawn again. I'm also able to remove the workaround in haldaemon.conf with --retain-privileges and set the the service into daemon=yes mode so from now it's in the background. --- diff --git a/src/initscripts/extras/fcron.conf b/src/initscripts/extras/fcron.conf index 503143c69..39a565cfb 100644 --- a/src/initscripts/extras/fcron.conf +++ b/src/initscripts/extras/fcron.conf @@ -6,6 +6,8 @@ stop on shutdown console output +expect fork +respawn exec /usr/sbin/fcron -y -b post-start script diff --git a/src/initscripts/extras/haldaemon.conf b/src/initscripts/extras/haldaemon.conf index 2b050bebc..4a770a9ad 100644 --- a/src/initscripts/extras/haldaemon.conf +++ b/src/initscripts/extras/haldaemon.conf @@ -6,8 +6,9 @@ stop on stopping messagebus console output +expect fork respawn -exec /usr/sbin/hald --use-syslog --daemon=no --retain-privileges +exec /usr/sbin/hald --use-syslog --daemon=yes post-start script set -e diff --git a/src/initscripts/extras/openldap.conf b/src/initscripts/extras/openldap.conf index 36d807501..978268400 100644 --- a/src/initscripts/extras/openldap.conf +++ b/src/initscripts/extras/openldap.conf @@ -6,6 +6,8 @@ stop on shutdown console output +expect fork +respawn exec /usr/sbin/slapd post-start script