Modified script and auto updater
This commit is contained in:
parent
f733538928
commit
e600f699a9
|
@ -1,2 +0,0 @@
|
||||||
#node main.js > /dev/null 2>&1 &
|
|
||||||
../node_modules/.bin/pm2 start main.js
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue