aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/unifi/unifi.logrotated
diff options
context:
space:
mode:
Diffstat (limited to 'non-free/unifi/unifi.logrotated')
-rw-r--r--non-free/unifi/unifi.logrotated11
1 files changed, 11 insertions, 0 deletions
diff --git a/non-free/unifi/unifi.logrotated b/non-free/unifi/unifi.logrotated
new file mode 100644
index 0000000000..2e33dde9bb
--- /dev/null
+++ b/non-free/unifi/unifi.logrotated
@@ -0,0 +1,11 @@
+/var/log/unifi/*.log {
+ daily
+ rotate 10
+ missingok
+ notifempty
+ compress
+ sharedscripts
+ postrotate
+ /etc/init.d/unifi --ifstarted --quiet restart
+ endscript
+}