forked from cohabit/server_config
15 lines
309 B
Bash
15 lines
309 B
Bash
# Setup forgejo config
|
|
cp ./forgejo/* /etc/forgejo
|
|
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
|
|
|
# Setup forgejo service
|
|
cp ./systemd/forgejo.service /etc/systemd/system
|
|
|
|
# Start forgejo
|
|
systemctl deamon-reload
|
|
systemctl enable forgejo
|
|
systemctl start forgejo
|
|
|
|
# Setup forgejo runner
|
|
# ???
|