mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 08:32:23 +02:00
change to pm2 start server/server.js directly due to (#273)
This commit is contained in:
parent
feb0feda76
commit
c55f2b93f7
@ -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";
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user