![]() ![]() By default, PM2 does not restart your applications on server restart. Only then will your currently running applications persist after server restart. For the second half, you have to use a combination of pm2 startup and pm2 save commands. ![]() The first half of this policy is the default with PM2. Docker will try to restart your container indefinitely until you manually stop ( docker stop) or remove the container ( docker rm -f). You cannot set a limit to the number of restart attempts with this policy (and with the always policy). after a server restart), only start the container if it was already running before.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |