diff options
author | 2019-04-24 08:25:13 +0200 | |
---|---|---|
committer | 2019-06-07 15:17:46 +0200 | |
commit | 05b7acaa3d40b21b40f56cc8541f6c74d9eaa02e (patch) | |
tree | 84b4030ec2bea653b2010260117f00590c2af5ff /www-apps/gitea/files/gitea.initd-r3 | |
parent | dev-vcs/git-remote-hg: delete old, delete patch (diff) | |
download | gentoo-05b7acaa3d40b21b40f56cc8541f6c74d9eaa02e.tar.gz gentoo-05b7acaa3d40b21b40f56cc8541f6c74d9eaa02e.tar.bz2 gentoo-05b7acaa3d40b21b40f56cc8541f6c74d9eaa02e.zip |
www-apps/gitea: bump to 1.8.2 + fix systemd service
Closes: https://bugs.gentoo.org/671596
Closes: https://bugs.gentoo.org/684196
Closes: https://bugs.gentoo.org/685616
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Felix Neumärker <xdch47@posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/11977
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-apps/gitea/files/gitea.initd-r3')
-rw-r--r-- | www-apps/gitea/files/gitea.initd-r3 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www-apps/gitea/files/gitea.initd-r3 b/www-apps/gitea/files/gitea.initd-r3 new file mode 100644 index 000000000000..680ae834e230 --- /dev/null +++ b/www-apps/gitea/files/gitea.initd-r3 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 2016-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Gitea, a self-hosted Git service" + +: ${GITEA_CONF:=/etc/gitea/app.ini} +: ${GITEA_USER:=git} +: ${GITEA_GROUP:=git} +: ${GITEA_WORK_DIR:=/var/lib/gitea} +: ${GITEA_CUSTOM:=${GITEA_WORK_DIR}/custom} + +command="/usr/bin/gitea web" +command_args="--config ${GITEA_CONF}" +command_background="true" +command_user="${GITEA_USER}:${GITEA_GROUP}" +error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err" +pidfile="/run/${RC_SVCNAME}.pid" +required_files="${GITEA_CONF}" +start_stop_daemon_args="-d ${GITEA_WORK_DIR}" +start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_WORK_DIR=${GITEA_WORK_DIR}" +start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_CUSTOM=${GITEA_CUSTOM}" |