-
Notifications
You must be signed in to change notification settings - Fork 0
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
Services running using pm2 do not restart on server reboot #31
Comments
Refer to https://stackoverflow.com/questions/60095316/does-pm2-auto-restart-application-after-reboot-by-default on how to do this. |
I have checked the scripts for both avni-media and rules-server both are looking fine have all steps included init. @1t5j0y can you please review. |
@Balamuruganjeevi have you modified any code which needs to be reviewed? |
No nothing have changed and i have modified some code in avni-media yesterday but it won't work so i replaced it, so nothing changed. |
@Balamuruganjeevi since we have confirmed that the issue is present (atleast in avni-media) yesterday (simulated by rebooting prerelease integration server) and no change has been made, the issue won't be fixed and there is nothing to review. |
avni-media had this issue because the command output by running pm2 startup (which creates the service to resurrect pm2 processes) was not being run. |
…during install - code review comments
Tested on staging and prerelease by rebooting server and ensuring avni-media came back online as part of fix dev. |
rules-server, avni-media are run using pm2. If the instance on which these are running gets restarted, these services need to be configured to be restarted too.
Impacted sevices:
Environments:
The text was updated successfully, but these errors were encountered: