- Automatically starts or restarts your processes.json. Triggered on
- Automatically updates the process
execute_interpreterto a specific node version before start or restart. Triggered on
updated. (Note: this currently only works with a single app process and requires shipit-nvm).
- Works with shipit-deploy
- Has a direct pass though task to pm2 commands.
- Works via shipit-cli and grunt-shipit
npm install shipit-pm2
Just simply run: (This triggers the
pm2 specific tasks on the events mentioned previously. No additional config necessary.)
shipit staging deploy
Or you can run the tasks separately :
shipit staging pm2:init pm2:config shipit staging pm2:run --cmd "update"
An string specifying the path to the pm2 json app declaration file (see pm2 readme for more info).
shipitfile.js options usage