summaryrefslogtreecommitdiffstats
path: root/contrib/init/gentoo/gitea
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/init/gentoo/gitea')
-rw-r--r--contrib/init/gentoo/gitea6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/init/gentoo/gitea b/contrib/init/gentoo/gitea
index d8c150d417..c40fc93f5f 100644
--- a/contrib/init/gentoo/gitea
+++ b/contrib/init/gentoo/gitea
@@ -1,11 +1,11 @@
#!/sbin/openrc-run
-DIR=/home/git/gitea
+DIR=/var/lib/gitea
USER=git
start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
-command="${DIR}/gitea"
-command_args="web"
+command="/usr/local/bin/gitea"
+command_args="web -c /etc/gitea/app.ini"
command_background=yes
pidfile=/var/run/gitea.pid