@rodewitsch/pm2-reload
v1.1.0
Published
PM2 Graceful Restart
Downloads
15
Readme
pm2-reload
Sometimes, in some versions of pm2, the reload command is incorrect or does not work at all. This module allows you to restart processes one by one, waiting for a certain time interval between restarts to stabilize applications.
Installing pm2-reload
With NPM:
$ npm i -g @rodewitsch/pm2-reload
With Yarn:
$ yarn global add @rodewitsch/pm2-reload
With NPM from Github:
$ npm i -g git+https://github.com/rodewitsch/pm2-reload.git
Usage example
pm2-reload --name clusteredAppName --delay 30000
pm2-reload --all --delay 30000