This commit is contained in:
Luk Lu
2021-07-04 09:02:56 +08:00
parent c88ac80cdd
commit 43b99a7ce1
3 changed files with 10 additions and 11 deletions

View File

@@ -2,8 +2,8 @@ echo 'Starting yapi ...'
sudo pm2 start "/faronear/fon/yapi/vendors/server/app.js" --name yapi # sudo it so that pm2 list shows it as root
echo 'Starting https2http proxy ...'
pushd /faronear/fon/yapi.faronear.org
cd /faronear/fon/yapi.faronear.org
sudo pm2 start ./node_modules/sol.webserver/server.js --name yapi.https2http # sudo it so that pm2 list shows it as root
popd
cd /faronear/
echo 'Started yapi + https2http successfully!'
echo 'Started yapi + https2http.'