This commit is contained in:
陆柯 2022-07-21 10:18:29 +08:00
parent a6b0202b46
commit 84cbba94f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
echo '>>>> Starting http2https in pm2 ...'
cd /faronear/git/git.faronear.org
# sudo it so that pm2 list shows it as root
sudo pm2 start ./node_modules/basend-webserver/server.js --name git.http2https
sudo pm2 start ./node_modules/basend-webserver/webserver.js --name git.http2https
cd /faronear/git
echo '>>>> Started http2https.'

View File

@ -3,7 +3,7 @@ sudo pm2 start "/faronear/fon/yapi/vendors/server/app.js" --name yapi # sudo it
echo 'Starting https2http proxy ...'
cd /faronear/fon/yapi.faronear.org
sudo pm2 start ./node_modules/basend-webserver/server.js --name yapi.https2http # sudo it so that pm2 list shows it as root
sudo pm2 start ./node_modules/basend-webserver/webserver.js --name yapi.https2http # sudo it so that pm2 list shows it as root
cd /faronear/
echo 'Started yapi + https2http.'