slackbuilds_ponce/network/monkey/monkey.logrotate
Sergey Fedosoff 403f86a1a5 network/monkey: Added (web server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-04-12 00:39:58 +07:00

13 lines
309 B
Text

/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
}