summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service')
-rw-r--r--poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service b/poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service
new file mode 100644
index 000000000..66a907aa1
--- /dev/null
+++ b/poky/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Lightning Fast Webserver With Light System Requirements
+After=network.target
+
+[Service]
+ExecStartPre=@SBINDIR@/lighttpd -t -f @SYSCONFDIR@/lighttpd.conf
+ExecStart=@SBINDIR@/lighttpd -D -f @SYSCONFDIR@/lighttpd.conf
+ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+
OpenPOWER on IntegriCloud