npm.io
1.1.0 • Published 5 years agoCLI

@rodewitsch/pm2-reload

Licence
ISC
Version
1.1.0
Deps
1
Size
5 kB
Vulns
1
Weekly
0
Stars
1
DeprecatedThis package is deprecated

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

Keywords