aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init/gentoo
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-06-05 05:02:04 +0300
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-06-04 22:02:04 -0400
commit1aee261aae74881f65a1152f6fa57bc160adaa16 (patch)
tree6c329fb4a43fe7d39f56ef30ac44ddb81600a29c /contrib/init/gentoo
parent6400d8a3cba41d1435fa0fbe0b5b060062f41e1c (diff)
downloadgitea-1aee261aae74881f65a1152f6fa57bc160adaa16.tar.gz
gitea-1aee261aae74881f65a1152f6fa57bc160adaa16.zip
More detailed documentation on how to set up from binary (#4121)
* More detailed documentation on how to set up from binary Also change recommended file locations
Diffstat (limited to 'contrib/init/gentoo')
-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