diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-06 07:54:22 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-06 07:54:34 +0000 |
commit | 6c4bea5606848d7c2c8362d81837cf369fc913bb (patch) | |
tree | d50dd44f659902df37b8a7575f417c8f3e038e5b /non-free/unifi/unifi.logrotated | |
parent | c62137354b6836a71833c68230512632bc1d5f8d (diff) | |
download | aports-6c4bea5606848d7c2c8362d81837cf369fc913bb.tar.bz2 aports-6c4bea5606848d7c2c8362d81837cf369fc913bb.tar.xz |
non-free/unifi: slight improvements
- Add a name for init
- Allow daemon's user override
- Allow passing additional options to daemon
- Add robots.txt
- Use copytruncate for log rotation so daemon isn't restarted
- Augment log history
Diffstat (limited to 'non-free/unifi/unifi.logrotated')
-rw-r--r-- | non-free/unifi/unifi.logrotated | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/non-free/unifi/unifi.logrotated b/non-free/unifi/unifi.logrotated index 2e33dde9bb..28cc9ad437 100644 --- a/non-free/unifi/unifi.logrotated +++ b/non-free/unifi/unifi.logrotated @@ -1,11 +1,8 @@ /var/log/unifi/*.log { - daily - rotate 10 + weekly + rotate 5 missingok notifempty compress - sharedscripts - postrotate - /etc/init.d/unifi --ifstarted --quiet restart - endscript + copytruncate } |