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]

sugilog 2016-11-02 10:56:15 +09:00 committed by Glenn Strauss
parent 4481489078
commit 331ac4f177
1 changed files with 3 additions and 1 deletions

View File

@ -3,8 +3,10 @@ Description=Lighttpd Daemon
ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf
ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf