Skip to content

Instantly share code, notes, and snippets.

@xialeistudio
Last active February 20, 2019 09:18
Show Gist options
  • Save xialeistudio/eaeb18a3f040a861eebd160b7685ae78 to your computer and use it in GitHub Desktop.
Save xialeistudio/eaeb18a3f040a861eebd160b7685ae78 to your computer and use it in GitHub Desktop.
pm2 start binary
# run a bash script
pm2 start --name git-sync --interpreter=none /usr/local/bin/git-sync
# run npm script
pm2 start --name quntui-promotion npm -- run start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment