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

logging to a tmpfs and pm2 save #213

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

logging to a tmpfs and pm2 save #213

amitrohatgi opened this issue Feb 6, 2021 · 0 comments

Comments

@amitrohatgi
Copy link

The combination doesn't work. If you specify -o and -e to save to "/tmp" for example (as in the case of a RO raspberry pi) while the logging works, if you pm2 save and reboot, the process won't restart indicating:

Current process list running is not in sync with saved list ... App xxx differs. Type 'pm2 save' to synchronize.

How do folks pm2 log to a tmpfs?

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