aboutsummaryrefslogtreecommitdiffstats
path: root/msec.logrotate
blob: 38903b64cb67afada444e817f34e5e7f5b79e7d9 (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 {
    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