Merge remote-tracking branch 'origin/master' into staging
[mirror/dsa-puppet.git] / modules / varnish / files / varnish.logrotate
diff --git a/modules/varnish/files/varnish.logrotate b/modules/varnish/files/varnish.logrotate
deleted file mode 100644 (file)
index afa230d..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/var/log/varnish/varnish.log {
-  daily
-  rotate 7
-  missingok
-  compress
-  delaycompress
-  missingok
-  postrotate
-    if [ -d /run/systemd/system ]; then
-       systemctl -q is-active varnishlog.service || exit 0
-    fi
-    /usr/sbin/invoke-rc.d varnishlog reload > /dev/null
-  endscript
-}
-
-/var/log/varnish/varnishncsa.log {
-  daily
-  rotate 7
-  missingok
-  compress
-  delaycompress
-  missingok
-  postrotate
-    if [ -d /run/systemd/system ]; then
-       systemctl -q is-active varnishncsa.service || exit 0
-    fi
-    /usr/sbin/invoke-rc.d varnishncsa reload > /dev/null
-  endscript
-}