summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'user/nextcloud/nextcloud.logrotate')
-rw-r--r--user/nextcloud/nextcloud.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/nextcloud/nextcloud.logrotate b/user/nextcloud/nextcloud.logrotate
new file mode 100644
index 000000000..19e17fdf4
--- /dev/null
+++ b/user/nextcloud/nextcloud.logrotate
@@ -0,0 +1,6 @@
+/var/log/nextcloud/*.log {
+ daily
+ compress
+ copytruncate
+ su nextcloud www-data
+}