Merge branch 'master' of https://git.faronear.org/lib/linux.config
This commit is contained in:
commit
517634b735
9
run-yapi.sh
Executable file
9
run-yapi.sh
Executable 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!'
|
Loading…
Reference in New Issue
Block a user