summaryrefslogtreecommitdiffstats
path: root/roles/nextcloud
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-16 01:02:04 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-16 01:03:06 +0200
commit38c697083d50764d833adc039b10b203d36c8f56 (patch)
treee8747e0e96dd5cb2e16e898ca4d2ef87da0261ec /roles/nextcloud
parente250173c23a9c192dc18ba34115f94816846ccf3 (diff)
Add nextcloud's logrotate file.
This was forgotten in 0bfbe0e49f7fc77abfe7bb5d92c72dbdf6742204.
Diffstat (limited to 'roles/nextcloud')
-rw-r--r--roles/nextcloud/files/etc/logrotate.d/nextcloud9
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
+}