diff options
Diffstat (limited to 'msec.logrotate')
-rw-r--r-- | msec.logrotate | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/msec.logrotate b/msec.logrotate new file mode 100644 index 0000000..38903b6 --- /dev/null +++ b/msec.logrotate @@ -0,0 +1,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 |