aboutsummaryrefslogtreecommitdiff
path: root/network/monkey/monkey.logrotate
diff options
context:
space:
mode:
authorSergey Fedosoff <eleksir@gmail.com>2019-08-29 18:49:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-29 18:49:45 +0700
commit8c48f7024f16310e1774c52494378c23062e273a (patch)
treed3e65643bc44fa1417bab93caa5ba66c548a0689 /network/monkey/monkey.logrotate
parentbc83f2cc782b3b99b7eef48af43598822a922d18 (diff)
network/monkey: Updated for version 1.6.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/monkey/monkey.logrotate')
-rw-r--r--network/monkey/monkey.logrotate12
1 files changed, 1 insertions, 11 deletions
diff --git a/network/monkey/monkey.logrotate b/network/monkey/monkey.logrotate
index 77e606aa7588b..438f310fae40f 100644
--- a/network/monkey/monkey.logrotate
+++ b/network/monkey/monkey.logrotate
@@ -1,17 +1,7 @@
/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
- PATH=/usr/sbin:/sbin:/usr/bin:/bin
- pgrep -u apache -x monkey 1>/dev/null 2>/dev/null
- if [ $? != '0' ]; then
- /etc/rc.d/rc.monkey restart
- fi
- endscript
+ copytruncate
}