Info meteor cordova and ec2 with pm2

Hi guys i hava an app in aws ec2-ubuntu with pm2.

My app is ok but if ec2 reboot pm2 and cordova is not sync and login not working, if i reload pm2 app login return working.

I suppose when reboot pm2 reload old version or the hash from server and cordova is not correct when reload app return working.

Have you solution for this problem? unfortunately my client want aws!

Thank you in advance!

If your webapp and cordova app do not work after reboot of ec2, the problem may be that pm2 has not saved current run setting. Check for ‘pm2 save’ in pm2 documentation