diff options
Diffstat (limited to 'www-servers/thttpd/files/thttpd.logrotate')
-rw-r--r-- | www-servers/thttpd/files/thttpd.logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/thttpd/files/thttpd.logrotate b/www-servers/thttpd/files/thttpd.logrotate new file mode 100644 index 000000000000..7e75c813524a --- /dev/null +++ b/www-servers/thttpd/files/thttpd.logrotate @@ -0,0 +1,12 @@ +/var/log/thttpd.log { + daily + rotate 5 + compress + delaycompress + missingok + notifempty + sharedscripts + postrotate + kill -HUP `cat /var/run/thttpd.pid 2>/dev/null` 2>/dev/null || true + endscript +} |