mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -28,3 +28,6 @@ start_service() {
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
procd_send_signal lighttpd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user