Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native logrotate issues #212

Open
amitrohatgi opened this issue Feb 6, 2021 · 0 comments
Open

native logrotate issues #212

amitrohatgi opened this issue Feb 6, 2021 · 0 comments

Comments

@amitrohatgi
Copy link

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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant