diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2019-03-15 10:12:53 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-15 23:42:14 +0100 |
commit | 5bd278c49c6680eedced51e9b6d910d7098bf159 (patch) | |
tree | 87d74f3741d10b3ab3de7d3f1a7fe1b42f1623d9 /www-apps/gitea/files | |
parent | sci-visualization/gnuplot: amd64 stable wrt bug #677424 (diff) | |
download | gentoo-5bd278c49c6680eedced51e9b6d910d7098bf159.tar.gz gentoo-5bd278c49c6680eedced51e9b6d910d7098bf159.tar.bz2 gentoo-5bd278c49c6680eedced51e9b6d910d7098bf159.zip |
www-apps/gitea: bump to 1.7.4.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11371
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'www-apps/gitea/files')
-rw-r--r-- | www-apps/gitea/files/gitea.initd-r1 | 5 | ||||
-rw-r--r-- | www-apps/gitea/files/gitea.service | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/www-apps/gitea/files/gitea.initd-r1 b/www-apps/gitea/files/gitea.initd-r1 index 837164aa0140..6f957d426c08 100644 --- a/www-apps/gitea/files/gitea.initd-r1 +++ b/www-apps/gitea/files/gitea.initd-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2016-2018 Gentoo Foundation +# Copyright 2016-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 description="Gitea, a self-hosted Git service" @@ -11,7 +11,8 @@ command="/usr/bin/gitea web" command_args="${command_args:--config /var/lib/gitea/conf/app.ini}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ - -e GITEA_WORK_DIR=/var/lib/gitea + -e GITEA_WORK_DIR=${GITEA_WORK_DIR:-/var/lib/gitea} \ + -e GITEA_CUSTOM=${GITEA_CUSTOM:-/var/lib/gitea} \ --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ --stderr /var/log/${SVCNAME}/${SVCNAME}.log" diff --git a/www-apps/gitea/files/gitea.service b/www-apps/gitea/files/gitea.service index 3fdbc1fd0c3d..733e05ea1ed3 100644 --- a/www-apps/gitea/files/gitea.service +++ b/www-apps/gitea/files/gitea.service @@ -1,6 +1,6 @@ [Unit] Description=Gitea service -Documentation=https://gitea.io +Documentation=https://docs.gitea.io/ AssertPathIsDirectory=/var/lib/gitea AssertPathIsReadWrite=/var/lib/gitea @@ -8,13 +8,15 @@ AssertPathIsReadWrite=/var/lib/gitea After=network.target Requires=network.target After=mysqld.service -Requires=mysqld.service +After=postgresql.service +After=memcached.service +After=redis.service [Service] User=git Group=git -Environment="GITEA_CUSTOM=/var/lib/gitea" +Environment="GITEA_WORK_DIR=/var/lib/gitea GITEA_CUSTOM=/var/lib/gitea" WorkingDirectory=/var/lib/gitea ExecStart=/usr/bin/gitea web -c /var/lib/gitea/conf/app.ini |