packages: varnish/varnish.logrotate (NEW) - new

glen glen at pld-linux.org
Mon Jul 20 15:01:30 CEST 2009


Author: glen                         Date: Mon Jul 20 13:01:30 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/varnish:
   varnish.logrotate (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/varnish/varnish.logrotate
diff -u /dev/null packages/varnish/varnish.logrotate:1.1
--- /dev/null	Mon Jul 20 15:01:30 2009
+++ packages/varnish/varnish.logrotate	Mon Jul 20 15:01:25 2009
@@ -0,0 +1,9 @@
+/var/log/varnish/*.log {
+    missingok
+    notifempty
+    sharedscripts
+    postrotate
+        kill -HUP `cat /var/run/varnish/varnishlog.pid 2>/dev/null` 2> /dev/null || :
+		kill -HUP `cat /var/run/varnish/varnishncsa.pid 2>/dev/null` 2> /dev/null || :
+    endscript
+}
================================================================


More information about the pld-cvs-commit mailing list