Skip to content

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.

License

Notifications You must be signed in to change notification settings

rodewitsch/pm2-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pm2-reload

GitHub license Total alerts Language grade: JavaScript npm npm

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published