aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/unifi/unifi.logrotated
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-05 23:37:56 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-05 23:39:27 +0000
commite29a96d23c931d911574bc297c7752214859303c (patch)
tree044398a2c892ffc1b00237cf752d754e096bbc78 /non-free/unifi/unifi.logrotated
parent1b6cb62539ac826131cbbb015b5fa2833db42fbe (diff)
downloadaports-e29a96d23c931d911574bc297c7752214859303c.tar.gz
aports-e29a96d23c931d911574bc297c7752214859303c.tar.bz2
aports-e29a96d23c931d911574bc297c7752214859303c.tar.xz
non-free/unifi: new aport
ref: https://github.com/alpinelinux/aports/pull/2530
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
+}