From 6b565e628f4c40e0050a2704c3dd56b4eaf9d184 Mon Sep 17 00:00:00 2001 From: FibreTTP <120446961+FibreTTP@users.noreply.github.com> Date: Wed, 27 Sep 2023 14:25:04 +1000 Subject: [PATCH] Change perms on logrotated logs to npm user --- docker/rootfs/etc/logrotate.d/nginx-proxy-manager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/rootfs/etc/logrotate.d/nginx-proxy-manager b/docker/rootfs/etc/logrotate.d/nginx-proxy-manager index 20c23ac6..0882d61e 100644 --- a/docker/rootfs/etc/logrotate.d/nginx-proxy-manager +++ b/docker/rootfs/etc/logrotate.d/nginx-proxy-manager @@ -1,5 +1,5 @@ /data/logs/*_access.log /data/logs/*/access.log { - create 0644 root root + create 0644 npm npm weekly rotate 4 missingok @@ -12,7 +12,7 @@ } /data/logs/*_error.log /data/logs/*/error.log { - create 0644 root root + create 0644 npm npm weekly rotate 10 missingok