Remove explicit user and group - add su directive for default user (npm).

This commit is contained in:
FibreTTP 2023-09-27 14:58:19 +10:00
parent 6b565e628f
commit 4867db078c

View File

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