-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
sudo pm2 logrotate -u user from an account that is not named "user" doesn't do what's expected. For example, if my account name is "pi" and I execute this command, it does the following in lograte.d/:
/home/pi/.pm2/pm2.log /home/pi/.pm2/logs/*.log {
rotate 12
weekly
missingok
notifempty
compress
delaycompress
create 0640 user user
}
Metadata
Metadata
Assignees
Labels
No labels