Closed mjansing closed 6 years ago
Hey folks,
i use pm2 to deploy a bunch of node services to a remote hosts. These services are managed in a single git repository. Is there a way to trigger a new deployment and only restart specific services (the updated ones)?
Currently i use a post-deploy hook with pm2 startOrRestart ecosystem.json which restarts all declared apps. This issue maybe corresponds with https://github.com/Unitech/pm2-deploy/issues/132
pm2 startOrRestart ecosystem.json
you can use startOrReload if all of your application are running in cluster mode to achieve 0s downtime during the deploy.
closing this in favor of #132
Hey folks,
i use pm2 to deploy a bunch of node services to a remote hosts. These services are managed in a single git repository. Is there a way to trigger a new deployment and only restart specific services (the updated ones)?
Currently i use a post-deploy hook with
pm2 startOrRestart ecosystem.json
which restarts all declared apps. This issue maybe corresponds with https://github.com/Unitech/pm2-deploy/issues/132