blob: 09fd87d2dfda60ccd2c2b9f619d11bd56e341c19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=Lighttpd Daemon
After=syslog.target network-online.target
[Service]
Type=simple
PIDFile=/run/lighttpd.pid
ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
|