Skip to content

A few changes making the config closer to upstream recommendations

Whyme Lyu requested to merge 5long/lighttpd:closer-to-upstream into main
  • Copy ExecStartPre= and Restart= from upstream .service file

  • Use lighttpd instead of lighttpd-angel, change reload signal to USR1

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

Merge request reports

Loading