aboutsummaryrefslogtreecommitdiffstats
path: root/msec.logrotate
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-24 14:01:44 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-24 14:01:44 +0000
commit3faf13ff57e140e83cd69d832d753d224942ac22 (patch)
tree3fbc8197b3f5279cad71c9c72a94e0e457985948 /msec.logrotate
parent0ef149d730f91bdb1fb193f7602beab918b1b4d2 (diff)
downloadmsec-3faf13ff57e140e83cd69d832d753d224942ac22.tar
msec-3faf13ff57e140e83cd69d832d753d224942ac22.tar.gz
msec-3faf13ff57e140e83cd69d832d753d224942ac22.tar.bz2
msec-3faf13ff57e140e83cd69d832d753d224942ac22.tar.xz
msec-3faf13ff57e140e83cd69d832d753d224942ac22.zip
Adding back missing files.
Diffstat (limited to 'msec.logrotate')
-rw-r--r--msec.logrotate16
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