detect when a server goes down and reopen it

[Brick] 1nator
Joined 11/10/2017
Posts 4,995
10:08 PM 12/01/2021
how do i do that


[furry] SmartLion
Joined 16/04/2017
Posts 1,201
10:26 PM 12/01/2021
use PM2


[Brick] 1nator
Joined 11/10/2017
Posts 4,995
10:51 PM 12/01/2021
Quote from SmartLion , 10:26 PM 12/01/2021
use PM2
whats that and how do i use that?


[furry] SmartLion
Joined 16/04/2017
Posts 1,201
03:58 AM 13/01/2021
Quote from 1nator , 10:51 PM 12/01/2021
Quote from SmartLion , 10:26 PM 12/01/2021
use PM2

whats that and how do i use that?
a simple pm2 start yourfile should be enough
if you ever need to then you can do pm2 stop processname to stop the server
watch your reset count with pm2 list


[Brick] 1nator
Joined 11/10/2017
Posts 4,995
10:08 AM 13/01/2021
Quote from SmartLion , 03:58 AM 13/01/2021
Quote from 1nator , 10:51 PM 12/01/2021
Quote from SmartLion , 10:26 PM 12/01/2021
use PM2

whats that and how do i use that?

a simple pm2 start yourfile should be enough
if you ever need to then you can do pm2 stop processname to stop the server
watch your reset count with pm2 list
thanks!

1