]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.upstart
- add upstart config
[packages/lighttpd.git] / lighttpd.upstart
diff --git a/lighttpd.upstart b/lighttpd.upstart
new file mode 100644 (file)
index 0000000..8bb9b70
--- /dev/null
@@ -0,0 +1,16 @@
+description "Lighttpd Web Server"
+
+start on pld.network-started
+stop on pld.shutdown-started
+
+respawn
+
+console output
+
+env SHELL=/bin/sh
+
+script
+       # Source old-style service configuration
+       [ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
+       exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
+end script
This page took 0.067254 seconds and 4 git commands to generate.