This commit is contained in:
Luk Lu
2020-04-21 09:32:37 +08:00
parent 5b373f11c3
commit 988e1f64ac
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
echo 'Starting yapi...'
sudo pm2 start "/root/yapi/vendors/server/app.js" --name yapi # sudo it so that pm2 list shows it as root
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 /root/yapi.faronear.org
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 ..