diff options
author | Sergey Fedosoff <eleksir@gmail.com> | 2014-04-12 00:39:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-12 00:39:58 +0700 |
commit | 403f86a1a529b31f896cdfe88876b492db5aa38a (patch) | |
tree | ca1ac77b4a84564d3e14cfd33c1341518e63cd2e /network/monkey/monkey.logrotate | |
parent | bb3ef6edd949aff15e8bfe66bce9771bd47b28ce (diff) | |
download | slackbuilds-403f86a1a529b31f896cdfe88876b492db5aa38a.tar.gz |
network/monkey: Added (web server).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000..5d1cde3540 --- /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 +} |