Merge branch 'duzun_patch-1'

This commit is contained in:
LouisLam 2021-08-26 23:02:10 +08:00
commit 890aea8756
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ if (type == "local") {
bash("git clone https://github.com/louislam/uptime-kuma.git ."); bash("git clone https://github.com/louislam/uptime-kuma.git .");
bash("npm run setup"); bash("npm run setup");
bash("pm2 start npm --name uptime-kuma -- run start-server -- --port=$port"); bash("pm2 start server/server.js --name uptime-kuma -- --port=$port");
} else { } else {
defaultVolume = "uptime-kuma"; defaultVolume = "uptime-kuma";

View File

@ -166,7 +166,7 @@ fi
cd $installPath cd $installPath
git clone https://github.com/louislam/uptime-kuma.git . git clone https://github.com/louislam/uptime-kuma.git .
npm run setup npm run setup
pm2 start npm --name uptime-kuma -- run start-server -- --port=$port pm2 start server/server.js --name uptime-kuma -- --port=$port
else else
defaultVolume="uptime-kuma" defaultVolume="uptime-kuma"
check=$(docker -v) check=$(docker -v)