Browse Source

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/72
personal/stbuehler/mod-csrf
sugilog 5 years ago
committed by Glenn Strauss
parent
commit
331ac4f177
  1. 4
      doc/systemd/lighttpd.service

4
doc/systemd/lighttpd.service

@ -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…
Cancel
Save