diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 01:02:04 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 01:03:06 +0200 |
commit | 38c697083d50764d833adc039b10b203d36c8f56 (patch) | |
tree | e8747e0e96dd5cb2e16e898ca4d2ef87da0261ec /roles | |
parent | e250173c23a9c192dc18ba34115f94816846ccf3 (diff) |
Add nextcloud's logrotate file.
This was forgotten in 0bfbe0e49f7fc77abfe7bb5d92c72dbdf6742204.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/nextcloud/files/etc/logrotate.d/nextcloud | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/nextcloud/files/etc/logrotate.d/nextcloud b/roles/nextcloud/files/etc/logrotate.d/nextcloud new file mode 100644 index 0000000..b8dd232 --- /dev/null +++ b/roles/nextcloud/files/etc/logrotate.d/nextcloud @@ -0,0 +1,9 @@ +/var/log/nextcloud/*.log { + daily + missingok + rotate 7 + compress + delaycompress + notifempty + create 0640 _nextcloud adm +} |