diff options
Diffstat (limited to 'network/monkey/monkey.logrotate')
-rw-r--r-- | network/monkey/monkey.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/network/monkey/monkey.logrotate b/network/monkey/monkey.logrotate new file mode 100644 index 0000000000000..5d1cde3540f09 --- /dev/null +++ b/network/monkey/monkey.logrotate @@ -0,0 +1,13 @@ +/var/log/monkey/*.log { + su apache apache + rotate 10 + notifempty + compress + delaycompress + sharedscripts + postrotate +# kill -HUP `cat /var/run/monkey/monkey.pid.*` +# Handling of SIGHUP is not implemented yet, but they promise make it like apache httpd + /etc/rc.d/rc.monkey restart + endscript +} |