]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed loopback in some initscripts.
authorStefan Schantl <Stevee@ipfire.org>
Thu, 6 Aug 2009 19:54:31 +0000 (21:54 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Thu, 6 Aug 2009 19:54:31 +0000 (21:54 +0200)
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.

src/initscripts/extras/fcron.conf
src/initscripts/extras/haldaemon.conf
src/initscripts/extras/openldap.conf

index 503143c69b107a7d6555ff8a39b744be4f135d6f..39a565cfb7204396ca4b415905dca4418f9065f3 100644 (file)
@@ -6,6 +6,8 @@ stop on shutdown
 
 console output
 
+expect fork
+respawn
 exec /usr/sbin/fcron -y -b
 
 post-start script
index 2b050bebc5c3852e8d6b62adb684bb5ff20c11a1..4a770a9addaaa129fe9491aff46fad8a29d98ff0 100644 (file)
@@ -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
index 36d8075017aafa3479a489961123797cc50d5d15..9782684008056427de95eda9b8442a1cf733c001 100644 (file)
@@ -6,6 +6,8 @@ stop on shutdown
 
 console output
 
+expect fork
+respawn
 exec /usr/sbin/slapd
 
 post-start script