aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.logrotate
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2017-03-20 13:23:50 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2017-03-20 13:23:50 +0000
commit47d3ddcb320675911ec4e55eb5823ebbceeb3687 (patch)
treea9651ecbafdee9b2c664f1c1c0eeb9ea4eda2685 /debian/mauvealert-server.logrotate
parent755c3dcbff838cbd833bbd94ddc5e8ad43ea5d06 (diff)
Revert "Strip out debian metadata"
This reverts commit 4d9ca84e57dad6746eb0882b91171ccd69298807.
Diffstat (limited to 'debian/mauvealert-server.logrotate')
-rw-r--r--debian/mauvealert-server.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/mauvealert-server.logrotate b/debian/mauvealert-server.logrotate
new file mode 100644
index 0000000..9d15453
--- /dev/null
+++ b/debian/mauvealert-server.logrotate
@@ -0,0 +1,10 @@
+/var/log/mauvealert/mauvealert.log {
+ rotate 7
+ daily
+ compress
+ delaycompress
+ postrotate
+ /usr/sbin/invoke-rc.d mauvealert-server reopen-logs >/dev/null
+ endscript
+}
+