server_config/forgejo/_deploy.sh

15 lines
325 B
Bash
Raw Normal View History

# Setup forgejo config
cp ./forgejo/forgejo/* /etc/forgejo
chown -R root:forgejo /etc/forgejo && chmod -R 540 /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
# ???