Modified script and auto updater

This commit is contained in:
Wizzard 2023-07-14 12:34:56 -04:00
parent f733538928
commit e600f699a9
3 changed files with 4 additions and 2 deletions

View File

@ -1,2 +0,0 @@
#node main.js > /dev/null 2>&1 &
../node_modules/.bin/pm2 start main.js

3
start_linux.sh Normal file
View File

@ -0,0 +1,3 @@
#node main.js > /dev/null 2>&1 &
git pull
node_modules/.bin/pm2 start main.js

View File

@ -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