aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.logrotate
diff options
context:
space:
mode:
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
+}
+