Explorar o código

Change perms on logrotated logs to npm user

FibreTTP %!s(int64=2) %!d(string=hai) anos
pai
achega
6b565e628f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docker/rootfs/etc/logrotate.d/nginx-proxy-manager

+ 2 - 2
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