]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - lighttpd/systemd/lighttpd.service
Move all packages to root.
[people/ms/ipfire-3.x.git] / lighttpd / systemd / lighttpd.service
diff --git a/lighttpd/systemd/lighttpd.service b/lighttpd/systemd/lighttpd.service
new file mode 100644 (file)
index 0000000..04f343c
--- /dev/null
@@ -0,0 +1,12 @@
+
+[Unit]
+Description=Lighttpd Daemon
+After=network.target
+
+[Service]
+ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd.conf
+ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target