- moved here from sysv/
authorMark Huang <mlhuang@cs.princeton.edu>
Sun, 21 Aug 2005 21:39:05 +0000 (21:39 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Sun, 21 Aug 2005 21:39:05 +0000 (21:39 +0000)
scripts/vcached.logrotate [new file with mode: 0644]

diff --git a/scripts/vcached.logrotate b/scripts/vcached.logrotate
new file mode 100644 (file)
index 0000000..203baba
--- /dev/null
@@ -0,0 +1,10 @@
+/var/log/vcached.log {
+    compress
+    daily
+    notifempty
+    rotate 5
+    missingok
+    postrotate
+        kill -HUP `cat /var/run/vcached.pid 2>/dev/null` 2>/dev/null || true
+    endscript
+}