Add systemd unit file

Change-Id: I680ab136870a8474e4979517fe46f2c9eff8ce34
personal/stbuehler/wip
Marcus Rückert 8 years ago
parent a5886b3a81
commit 17d066bc57

@ -1,4 +1,4 @@
EXTRA_DIST=angel.conf lighttpd.conf mimetypes.conf service \
EXTRA_DIST=angel.conf lighttpd.conf mimetypes.conf service systemd \
default.html
# see src/modules/Makefile.am

@ -0,0 +1,12 @@
[Unit]
Description=Lighttpd2
After=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/lighttpd2 -c /etc/lighttpd2/angel.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save