]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/etc/logrotate.conf
util-linux: update to 2.24.
[people/teissler/ipfire-2.x.git] / config / etc / logrotate.conf
index 3b2969507480135b9c17227c628c6d4139ad4132..637179987b95101702157476a6337b8f9ac23571 100644 (file)
@@ -32,9 +32,9 @@ compress
     ifempty
     missingok
     postrotate
-       /usr/bin/find /var/log/snort -path '/var/log/snort/[0-9]*' -prune -exec /bin/rm -rf {} \;
-       /usr/bin/find /var/log/snort -name 'snort.log.*' -mtime +28 -exec /bin/rm -rf {} \;
-       /usr/local/bin/restartsnort
+       /bin/find /var/log/snort -path '/var/log/snort/[0-9]*' -prune -exec /bin/rm -rf {} \;
+       /bin/find /var/log/snort -name 'snort.log.*' -mtime +28 -exec /bin/rm -rf {} \;
+       /etc/init.d/snort restart
     endscript
 }
 
@@ -65,7 +65,7 @@ compress
     endscript
 }
 
-/var/log/messages /var/log/boot.log /var/log/dhcpcd.log {
+/var/log/messages /var/log/bootlog /var/log/dhcpcd.log {
     create 664 root syslogd
     sharedscripts
     ifempty
@@ -82,3 +82,12 @@ compress
     notifempty
     missingok
 }
+
+/var/log/updatexlrator/*.log {
+    weekly
+    rotate 4
+    copytruncate
+    compress
+    notifempty
+    missingok
+}