[monit: 2/17] systemd support for logrotate script and rename to monit.log
Maxim Burgerhout
wzzrd at fedoraproject.org
Fri Dec 2 22:15:59 UTC 2011
commit a4b8bf0fbac15f4a75e2e5bef9e320afac347cb5
Author: Maxim Burgerhout <maxim at wzzrd.com>
Date: Tue Jul 26 14:54:01 2011 +0200
systemd support for logrotate script and rename to monit.log
monit.logrotate | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/monit.logrotate b/monit.logrotate
index 7b5c701..065bfed 100644
--- a/monit.logrotate
+++ b/monit.logrotate
@@ -1,10 +1,10 @@
-/var/log/monit {
+/var/log/monit.log {
missingok
notifempty
size 100k
create 0644 root root
postrotate
/sbin/service monit condrestart > /dev/null 2>&1 || :
+ /bin/systemctl reload monit.service > /dev/null 2>&1 || :
endscript
-
}
More information about the scm-commits
mailing list