summaryrefslogtreecommitdiff
path: root/package/lighttpd/lighttpd.service
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-07-28 09:21:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 23:12:17 +0200
commitb7eb4104b32a6cfca15c081649065659da75d9c1 (patch)
tree5e86df84e3bad665efac8d2217283925b962bb3c /package/lighttpd/lighttpd.service
parentc92aacd330366da803b1cf37ecb3af816bedd7f2 (diff)
Add systemd unit for lighttpd
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lighttpd/lighttpd.service')
-rw-r--r--package/lighttpd/lighttpd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/lighttpd/lighttpd.service b/package/lighttpd/lighttpd.service
new file mode 100644
index 000000000..0ca5357f5
--- /dev/null
+++ b/package/lighttpd/lighttpd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Lighttpd Web Server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/lighttpd-angel -f /etc/lighttpd/lighttpd.conf -D
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target