A few changes making the config closer to upstream recommendations
-
Copy ExecStartPre= and Restart= from upstream .service file
-
Use
lighttpd
instead oflighttpd-angel
, change reload signal toUSR1
Upstream doc https://redmine.lighttpd.net/projects/1/wiki/InstallFromSource#graceful-restart claims that:
With lighttpd 1.4.46 and later, SIGUSR1 is the recommended method to gracefully handle configuration reloads
This also means that running lighttpd worker under lighttpd-angel is unnecessary.
- Remove server.errorlog for systemd service, defaults to STDERR
Upstream doc https://redmine.lighttpd.net/projects/lighttpd/wiki/LighttpdUnderSupervise#File-rootlighttpdconf claims that:
#server.errorlog must be NOT be set