Modified script and auto updater
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
#node main.js > /dev/null 2>&1 &
|
|
||||||
../node_modules/.bin/pm2 start main.js
|
|
||||||
3
start_linux.sh
Normal file
3
start_linux.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#node main.js > /dev/null 2>&1 &
|
||||||
|
git pull
|
||||||
|
node_modules/.bin/pm2 start main.js
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
cd %~dp0
|
cd %~dp0
|
||||||
|
git pull
|
||||||
node_modules\.bin\pm2.cmd start main.js
|
node_modules\.bin\pm2.cmd start main.js
|
||||||
|
|||||||
Reference in New Issue
Block a user