Add pm2 support
Add json file to launch and monitor in pm2 and allow automatic restarts if the bot crashesmaster
parent
3bec7ba642
commit
0595f0a4f5
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"apps": [{
|
||||
"name": "ModMailBot",
|
||||
"cwd": "./",
|
||||
"script": "npm",
|
||||
"args": "start"
|
||||
}]
|
||||
}
|
Loading…
Reference in New Issue