Answer the question
In order to leave comments, you need to log in
How to properly restart processes via pm2?
Deploy using shipit - it creates a separate folder for each update. Therefore, the script will be launched from the new folder. I'm confused. It seemed to me that pm2 delete process_name does not stop already running processes. And pm2 stop process_name ignores the new location of the script, and runs from the old folder.
Do I need to stop (stop) AND delete (delete) processes from the list, and only then start (start)?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question