Running gekko in the background with PM2
#15
Automatically start your application on boot Pm2   Smile
start application first


Enter gekko folder

pm2 start gekko.js -n "xxxx1" -- -c config.js

then apply this command

pm2 startup systemd

Now if your Node.js application crashes due to an error it will restart, and if Ubuntu crashes for any reason, the process will automatically restart with Ubuntu. The processes can be restarted


to stop
pm2 unstartup systemd
  Reply


Messages In This Thread
RE: Running gekko in the background with PM2 - by ankasem - 05-23-2018, 02:38 AM

Forum Jump:


Users browsing this thread: