Thank you
@ monty
****************************************
edit
****************************************
Automatically start your application on boot Pm2
start application first
pm2 start gekko.js -n "xxxxxx1" -- -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
@ monty
****************************************
edit
****************************************
Automatically start your application on boot Pm2
start application first
pm2 start gekko.js -n "xxxxxx1" -- -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