add archipelago logrotate script
authorFilippos Giannakos <philipgian@grnet.gr>
Tue, 20 Nov 2012 10:17:35 +0000 (12:17 +0200)
committerFilippos Giannakos <philipgian@grnet.gr>
Tue, 20 Nov 2012 10:24:55 +0000 (12:24 +0200)
debian/archipelago.logrotate [new file with mode: 0644]

diff --git a/debian/archipelago.logrotate b/debian/archipelago.logrotate
new file mode 100644 (file)
index 0000000..b496eee
--- /dev/null
@@ -0,0 +1,51 @@
+/var/log/archipelago/blockerb.log {
+       daily
+       rotate 10
+       compress
+       delaycompress
+       missingok
+       notifempty
+       create 664 root root
+       postrotate
+               kill -USR1 $(cat /var/run/archipelago/blockerb.pid)
+       endscript
+}
+
+/var/log/archipelago/blockerm.log {
+       daily
+       rotate 10
+       compress
+       delaycompress
+       missingok
+       notifempty
+       create 664 root root
+       postrotate
+               kill -USR1 $(cat /var/run/archipelago/blockerm.pid)
+       endscript
+}
+
+/var/log/archipelago/mapperd.log {
+       daily
+       rotate 10
+       compress
+       delaycompress
+       missingok
+       notifempty
+       create 664 root root
+       postrotate
+               kill -USR1 $(cat /var/run/archipelago/mapperd.pid)
+       endscript
+}
+
+/var/log/archipelago/vlmcd.log {
+       daily
+       rotate 10
+       compress
+       delaycompress
+       missingok
+       notifempty
+       create 664 root root
+       postrotate
+               kill -USR1 $(cat /var/run/archipelago/vlmcd.pid)
+       endscript
+}