projects
/
certmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c8f2c6
)
Consolidated definitions in logrotate file using glob.
author
Greg Swift
<gregswift@gmail.com>
Mon, 5 Sep 2011 19:09:24 +0000
(14:09 -0500)
committer
Greg Swift
<gregswift@gmail.com>
Mon, 5 Sep 2011 19:09:24 +0000
(14:09 -0500)
Added sharedscripts directive so that HUP of running certmaster happens only once
etc/certmaster_rotate
patch
|
blob
|
history
diff --git
a/etc/certmaster_rotate
b/etc/certmaster_rotate
index
975966a
..
cfdf00e
100644
(file)
--- a/
etc/certmaster_rotate
+++ b/
etc/certmaster_rotate
@@
-1,19
+1,12
@@
-/var/log/certmaster/
audit
.log {
+/var/log/certmaster/
*
.log {
missingok
notifempty
rotate 4
weekly
+ sharedscripts
postrotate
if [ -f /var/lock/subsys/certmasterd ]; then
/etc/init.d/certmasterd condrestart
fi
endscript
}
-
-/var/log/certmaster/certmaster.log {
- missingok
- notifempty
- rotate 4
- weekly
-}
-