2021-06-29 14:40:56 -04:00
|
|
|
/data/logs/*_access.log /data/logs/*/access.log {
|
2023-09-27 00:58:19 -04:00
|
|
|
su npm npm
|
|
|
|
create 0644
|
2021-05-30 14:19:05 -04:00
|
|
|
weekly
|
|
|
|
rotate 4
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|
2021-06-29 14:40:56 -04:00
|
|
|
/data/logs/*_error.log /data/logs/*/error.log {
|
2023-09-27 00:58:19 -04:00
|
|
|
su npm npm
|
|
|
|
create 0644
|
2021-05-30 14:19:05 -04:00
|
|
|
weekly
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
|
|
|
endscript
|
2021-06-29 14:40:56 -04:00
|
|
|
}
|