sysconfig/serve-gitea.sh
2021-07-04 08:37:28 +08:00

8 lines
195 B
Bash
Executable File

echo '>>>> Starting gitea ...'
pushd /faronear/git/gitea
# sudo it so that pm2 list shows it as root
sudo pm2 start -x './gitea' --name gitea -- web
popd
echo '>>>> Started gitea successfully!'