aboutsummaryrefslogtreecommitdiffstats
path: root/msec.logrotate
blob: 6ff4fa45f5b1f8be180ce1736995f52165804231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# We create the log files to keep logrotate quiet in the case where
# uucico is not run at all between two log rotations. It would be nice if
# logrotate could be configured to silently ignore the case of a log
# file not existing

/var/log/security.log /var/log/msec.log {
    create 644 root root
	monthly
	compress
}

# updating permissions on rotated logs
sharedscripts
postrotate
	test -f /usr/sbin/msecperms && /usr/sbin/msecperms -q -e '/var/log/*'
endscript