]> git.llucax.com Git - software/sercom-old.git/commitdiff
Bugfix.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 14 Mar 2005 03:33:27 +0000 (03:33 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 14 Mar 2005 03:33:27 +0000 (03:33 +0000)
debian/sercom.logrotate [new file with mode: 0644]

diff --git a/debian/sercom.logrotate b/debian/sercom.logrotate
new file mode 100644 (file)
index 0000000..359e6a3
--- /dev/null
@@ -0,0 +1,15 @@
+/var/log/sercom.log {
+       monthly
+       missingok
+       rotate 52
+       compress
+       delaycompress
+       notifempty
+       create 640 root sercom
+       sharedscripts
+       postrotate
+               if [ -f /var/run/sc_fetch.pid -o -f /var/run/sc_test.pid ]; then
+                       /etc/init.d/sercom restart > /dev/null
+               fi
+       endscript
+}