set systemd settings similar to lighttpd2
except that HUP does not reload lighttpd 1.4.x config Those who only use systemd lighttpd service 'reload' to rotate access log files might choose to add a command to send lighttpd a HUP signal. See github pull request (below) for further discussion. [patch edited by gstrauss] x-ref: https://github.com/lighttpd/lighttpd1.4/pull/72personal/stbuehler/mod-csrf
parent
4481489078
commit
331ac4f177
|
@ -3,8 +3,10 @@ Description=Lighttpd Daemon
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf
|
||||
Type=simple
|
||||
ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
|
||||
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue