diff --git a/extra/install.batsh b/extra/install.batsh index cf14d0aea..d0ac2794f 100644 --- a/extra/install.batsh +++ b/extra/install.batsh @@ -198,7 +198,7 @@ if (type == "local") { bash("git clone https://github.com/louislam/uptime-kuma.git ."); 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 { defaultVolume = "uptime-kuma"; diff --git a/install.sh b/install.sh index a840bb2c0..ede9f4641 100644 --- a/install.sh +++ b/install.sh @@ -166,7 +166,7 @@ fi cd $installPath git clone https://github.com/louislam/uptime-kuma.git . 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 defaultVolume="uptime-kuma" check=$(docker -v)