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
|
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
|
||||
cd %~dp0
|
||||
git pull
|
||||
node_modules\.bin\pm2.cmd start main.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user