This commit is contained in:
smayzy
2025-02-25 23:27:34 +01:00
parent 06afac3be4
commit b977e19925
19 changed files with 248 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/sbin/openrc-run
name="Gitea"
description="Self-hosted Git service"
command="gitea"
command_args="web --config /etc/gitea/app.ini"
command_user="gitea:gitea"
supervisor="supervise-daemon"
pidfile="/run/gitea.pid"
directory="/var/lib/gitea"
depend() {
need net
}
+5
View File
@@ -0,0 +1,5 @@
apk add gitea
rm /etc/init.d/gitea
cp gitea /etc/init.d/gitea
rc-update add gitea default
service gitea start