summaryrefslogtreecommitdiff
path: root/system/ZoneMinder/zm_logrotate
diff options
context:
space:
mode:
authorV'yacheslav Stetskevych <slava18@gmail.com>2010-07-09 02:38:22 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-07-10 02:17:47 -0500
commit6149f3636948188bbad6377fa1f4425591f6fe22 (patch)
tree924b5c6e6dadcaf8f33aaab84abf4211f4bfa828 /system/ZoneMinder/zm_logrotate
parent944d84608d9bf501dd16124307fcab77ee5d688d (diff)
downloadslackbuilds-6149f3636948188bbad6377fa1f4425591f6fe22.tar.gz
system/ZoneMinder: Added (security and surveillance solution)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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
+}