From b7eb4104b32a6cfca15c081649065659da75d9c1 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Sat, 28 Jul 2012 09:21:21 +0200 Subject: Add systemd unit for lighttpd Signed-off-by: Maxime Ripard Signed-off-by: Thomas Petazzoni --- package/lighttpd/lighttpd.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/lighttpd/lighttpd.service (limited to 'package/lighttpd/lighttpd.service') 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 -- cgit v1.2.3