-
Notifications
You must be signed in to change notification settings - Fork 16
Running PM2
Gladiator10864 edited this page Jul 13, 2018
·
2 revisions
PM2 is a NodeJS package that monitors and can automatically restart scripts upon failure. You can use this for all running scripts so they automatically restart upon unforeseen failures.
Installing
- Download and install the nodejs installer for MacOS X here, https://nodejs.org/dist/v8.11.3/node-v8.11.3.pkg
- Open a terminal session and run
npm install pm2 -g
- To run
raidscan.py
under pm2, use command,pm2 start raidscan.py --interpreter python3.6
More info on pm2 can be found here