summaryrefslogtreecommitdiff
path: root/system/ZoneMinder/zm_logrotate
diff options
context:
space:
mode:
authorGene Baxter <GenoBob@gmail.com>2015-01-02 14:06:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-02 14:06:57 +0700
commit21dd16c0e1bda70142051e14c513c6ad3bc5a031 (patch)
tree0c291d54f40f150a2ffec7e551e78c8fafbde9d0 /system/ZoneMinder/zm_logrotate
parenta3f315595ab14ea4b590404623ae2516200ede20 (diff)
downloadslackbuilds-21dd16c0e1bda70142051e14c513c6ad3bc5a031.tar.gz
system/ZoneMinder: Added (video camera security and surveillance).
Signed-off-by: Willy Sudiarto Raharjo <willysr@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
+}