From 38c697083d50764d833adc039b10b203d36c8f56 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 16 May 2020 01:02:04 +0200 Subject: Add nextcloud's logrotate file. This was forgotten in 0bfbe0e49f7fc77abfe7bb5d92c72dbdf6742204. --- roles/nextcloud/files/etc/logrotate.d/nextcloud | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/nextcloud/files/etc/logrotate.d/nextcloud (limited to 'roles/nextcloud') 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 +} -- cgit v1.2.3