You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
}
The text was updated successfully, but these errors were encountered:
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/:The text was updated successfully, but these errors were encountered: