lighttpd: add 'reload' to init script to make logrotate-friendly

If lighttpd's scripts are rotated from under it while they're still open,
this will cause some weird things to happen.  Give it a heads up that
the logs have moved.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville
2017-07-10 16:06:38 -06:00
parent ac5ddd96e5
commit c3345a6d4a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -28,3 +28,6 @@ start_service() {
procd_close_instance
}
reload_service() {
procd_send_signal lighttpd
}