This commit is contained in:
Luk Lu
2019-12-16 10:05:22 +08:00
parent bcf85c06f2
commit 809dbd39fb
12 changed files with 56 additions and 35 deletions

9
serve-yapi.sh Executable file
View File

@@ -0,0 +1,9 @@
echo 'Starting yapi...'
sudo pm2 start "/root/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
sudo pm2 start server.js --name yapi.https2http # sudo it so that pm2 list shows it as root
cd ..
echo 'Done!'