This commit is contained in:
dedal.qq
2018-09-28 21:54:33 +03:00
parent f36ada19ea
commit c27f0e39c3
2 changed files with 4 additions and 4 deletions
+4 -1
View File
@@ -4,7 +4,10 @@
{
"name": "TepexoffBot",
"restart_after_update": true,
"cmd": ["./run.sh"]
"env": [
"NODE_PATH=/usr/lib/node_modules"
],
"cmd": ["node main.js"]
}
]
}
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
export NODE_PATH=$(npm root --quiet -g) && node main.js