sysconfig/gogs-run-http2https.sh

8 lines
248 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/base.webserver/server.js --name git.http2https
cd /faronear/git
echo '>>>> Started http2https.'