server_config/forgejo/_deploy.sh

15 lines
339 B
Bash

# Setup forgejo config
cp -a ./forgejo/forgejo/. /etc/forgejo/
chown -R forgejo:forgejo /etc/forgejo && chmod -R a-rwx,ug+r /etc/forgejo
# Setup forgejo service
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
# Start forgejo
systemctl daemon-reload
systemctl enable forgejo
systemctl start forgejo
# Setup forgejo runner
# ???