u
This commit is contained in:
12
serve-git.sh
12
serve-git.sh
@@ -1,13 +1,13 @@
|
||||
echo 'Starting gogs git service in screen...'
|
||||
#screen -dmS gogs
|
||||
#screen -S gogs -X stuff "/root/gogs/gogs web\n"
|
||||
cd /root/git
|
||||
#screen -S gogs -X stuff "/faronear/gogs/gogs web\n"
|
||||
cd /faronear/git
|
||||
sudo pm2 start -x './gogs/gogs' -n git.gogs -- web # sudo it so that pm2 list shows it as root
|
||||
cd /root
|
||||
cd /faronear
|
||||
|
||||
echo 'Starting http2https web service in pm2...'
|
||||
cd /root/git/git.faronear.org
|
||||
sudo pm2 start server.js --name git.http2https # sudo it so that pm2 list shows it as root
|
||||
cd /root
|
||||
cd /faronear/git/git.faronear.org
|
||||
sudo pm2 start server.js --name git.http # sudo it so that pm2 list shows it as root
|
||||
cd /faronear
|
||||
|
||||
echo 'Done!'
|
||||
|
||||
Reference in New Issue
Block a user