]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added daemon flag to lighttpd upstart job.
authorStefan Schantl <Stevee@ipfire.org>
Wed, 26 Aug 2009 20:58:59 +0000 (22:58 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Wed, 26 Aug 2009 20:58:59 +0000 (22:58 +0200)
With this flag it is possible to recive a status message from the
service and allows upstart to kill the process on shutdown/reboot.

src/initscripts/extras/lighttpd.conf

index ee4dac6fd8491fe094e373649265892d4dc21eac..639d6e524e53cc2f58705f1a4f9089ee46fbc449 100644 (file)
@@ -5,4 +5,4 @@ start on started network
 stop on stopping network
 
 exec /usr/sbin/lighttpd -f /etc/lighttpd.conf
-expect fork
+expect daemon