Change perms on logrotated logs to npm user

This commit is contained in:
FibreTTP 2023-09-27 14:25:04 +10:00
parent fa851b61da
commit 6b565e628f

View File

@ -1,5 +1,5 @@
/data/logs/*_access.log /data/logs/*/access.log { /data/logs/*_access.log /data/logs/*/access.log {
create 0644 root root create 0644 npm npm
weekly weekly
rotate 4 rotate 4
missingok missingok
@ -12,7 +12,7 @@
} }
/data/logs/*_error.log /data/logs/*/error.log { /data/logs/*_error.log /data/logs/*/error.log {
create 0644 root root create 0644 npm npm
weekly weekly
rotate 10 rotate 10
missingok missingok