diff options
Diffstat (limited to 'mini_httpd.logrotate')
-rw-r--r-- | mini_httpd.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mini_httpd.logrotate b/mini_httpd.logrotate new file mode 100644 index 000000000000..8d1bc59ad013 --- /dev/null +++ b/mini_httpd.logrotate @@ -0,0 +1,13 @@ +/var/log/mini_httpd.log +{ + weekly + missingok + notifempty + compress + delaycompress + create 644 nobody nobody + sharedscripts + postrotate + kill -HUP `cat /run/mini_httpd.pid 2>/dev/null` 2> /dev/null || true + endscript +} |