把 gogs 和 http2https 的启动分拆到两个script里
This commit is contained in:
parent
2c9eabb419
commit
ba82a1379b
7
serve-gogs.http2https.sh
Executable file
7
serve-gogs.http2https.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
echo '>>>> Starting http2https in pm2 ...'
|
||||||
|
cd /faronear/git/git.faronear.org
|
||||||
|
# sudo it so that pm2 list shows it as root
|
||||||
|
sudo pm2 start ./node_modules/sol.webserver/server.js --name git.http2https
|
||||||
|
cd /faronear/git
|
||||||
|
|
||||||
|
echo '>>>> Started http2https.'
|
@ -10,10 +10,4 @@ cd /faronear/git/gogs # 如果在 /faronear/git 中运行 ./gogs/gogs,导致
|
|||||||
sudo pm2 start -x './gogs' --name git.gogs -- web
|
sudo pm2 start -x './gogs' --name git.gogs -- web
|
||||||
cd /faronear/git
|
cd /faronear/git
|
||||||
|
|
||||||
echo '>>>> Starting http2https in pm2 ...'
|
|
||||||
cd /faronear/git/git.faronear.org
|
|
||||||
# sudo it so that pm2 list shows it as root
|
|
||||||
sudo pm2 start ./node_modules/sol.webserver/server.js --name git.http2https
|
|
||||||
cd /faronear/git
|
|
||||||
|
|
||||||
echo '>>>> Started gogs.'
|
echo '>>>> Started gogs.'
|
||||||
|
Loading…
Reference in New Issue
Block a user