summaryrefslogtreecommitdiffstats
path: root/system/ZoneMinder/zm_logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'system/ZoneMinder/zm_logrotate')
-rw-r--r--system/ZoneMinder/zm_logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/ZoneMinder/zm_logrotate b/system/ZoneMinder/zm_logrotate
new file mode 100644
index 0000000000..72c736c6df
--- /dev/null
+++ b/system/ZoneMinder/zm_logrotate
@@ -0,0 +1,9 @@
+/var/log/zm/*log {
+ weekly
+ rotate 4
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/zmpkg.pl logrot
+ endscript
+}