Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Created July 30, 2016 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomysmile/0e3973a910d286b81ec91d4eb1a3066e to your computer and use it in GitHub Desktop.
Save tomysmile/0e3973a910d286b81ec91d4eb1a3066e to your computer and use it in GitHub Desktop.
Strong PM Setup

$ npm install --unsafe-perm -g strong-pm $ sudo sl-pm-install --systemd --set-env NODE_ENV=production $ sudo /usr/bin/systemctl start strong-pm

$ sudo /usr/bin/systemctl daemon-reload $ sudo /usr/bin/systemctl restart strong-pm

NOTE: On RHEL, by default /usr/local/bin is not on the path, so if you encounter problems, use this install command: sudo env "PATH=$PATH" sl-pm-install

https://docs.strongloop.com/display/SLC/Deployment+best+practices https://docs.strongloop.com/display/SLC/Setting+up+a+production+host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment