change / to | in sed

This commit is contained in:
Luk Lu
2021-07-04 08:37:28 +08:00
parent f9fe9abb39
commit 0b5aa51682
6 changed files with 36 additions and 22 deletions

View File

@@ -1,9 +1,9 @@
echo 'Starting yapi...'
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 http2https web service...'
cd /faronear/fon/yapi.faronear.org
sudo pm2 start server.js --name yapi.https2http # sudo it so that pm2 list shows it as root
cd ..
echo 'Starting https2http proxy ...'
pushd /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
echo 'Done!'
echo 'Started yapi + https2http successfully!'