소스 검색

Change perms on logrotated logs to npm user

FibreTTP 2 년 전
부모
커밋
6b565e628f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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