2024-05-30 11:59:27 +02:00
|
|
|
# Setup forgejo config
|
2024-06-05 18:39:47 +02:00
|
|
|
cp -a ./forgejo/forgejo/. /etc/forgejo/
|
2024-05-30 11:59:27 +02:00
|
|
|
chown -R root:forgejo /etc/forgejo && chmod -R 540 /etc/forgejo
|
|
|
|
|
|
|
|
# Setup forgejo service
|
2024-05-30 13:39:34 +02:00
|
|
|
cp ./forgejo/systemd/forgejo.service /etc/systemd/system
|
2024-05-30 11:59:27 +02:00
|
|
|
|
|
|
|
# Start forgejo
|
2024-05-30 13:43:29 +02:00
|
|
|
systemctl daemon-reload
|
2024-05-30 11:59:27 +02:00
|
|
|
systemctl enable forgejo
|
|
|
|
systemctl start forgejo
|
|
|
|
|
|
|
|
# Setup forgejo runner
|
|
|
|
# ???
|