diff options
Diffstat (limited to 'abs/core-testing/lighttpd/lighttpd.logrotate.d')
-rw-r--r-- | abs/core-testing/lighttpd/lighttpd.logrotate.d | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core-testing/lighttpd/lighttpd.logrotate.d b/abs/core-testing/lighttpd/lighttpd.logrotate.d new file mode 100644 index 0000000..15cacc9 --- /dev/null +++ b/abs/core-testing/lighttpd/lighttpd.logrotate.d @@ -0,0 +1,5 @@ +/var/log/lighttpd/*log { + postrotate + /bin/kill -HUP `cat /var/run/lighttpd/lighttpd.pid 2>/dev/null` 2> /dev/null || true + endscript +} |