sysconfig/gogs-run-http2https.sh
2022-07-21 10:18:29 +08:00

8 lines
253 B
Bash
Executable File

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/basend-webserver/webserver.js --name git.http2https
cd /faronear/git
echo '>>>> Started http2https.'