diff options
author | Anthony Ruhier | 2018-02-18 16:16:13 +0100 |
---|---|---|
committer | Anthony Ruhier | 2018-02-18 16:16:13 +0100 |
commit | 909ac79c5976a0e791596587e7d5d6f326833a56 (patch) | |
tree | 32a00af840965348c015390990bb1c6d6bbda7e9 /librenms.logrotate | |
parent | 399948195fe47587f1ab1b48a495f18a9831c996 (diff) | |
download | aur-909ac79c5976a0e791596587e7d5d6f326833a56.tar.gz |
Fix logs symlink and logrotate
Install logrotate conf
Symlink actually points on /var/logs/librenms
Diffstat (limited to 'librenms.logrotate')
-rw-r--r-- | librenms.logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/librenms.logrotate b/librenms.logrotate new file mode 100644 index 000000000000..d01232dd6fec --- /dev/null +++ b/librenms.logrotate @@ -0,0 +1,11 @@ +# /etc/logrotate.d/librenms +/var/log/librenms/*log { + su http http + weekly + rotate 6 + compress + delaycompress + missingok + notifempty + create 664 http http +} |