diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-04-24 19:30:48 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-04-24 23:33:35 -0400 |
commit | 01bebbd953869c6c153166f2a07c74693f2e2f70 (patch) | |
tree | 569f8438c0df8a04613d020de3b50070a7cf55e3 /www-apps | |
parent | app-emulation/docker: remove unused patch(es) (diff) | |
download | gentoo-01bebbd953869c6c153166f2a07c74693f2e2f70.tar.gz gentoo-01bebbd953869c6c153166f2a07c74693f2e2f70.tar.bz2 gentoo-01bebbd953869c6c153166f2a07c74693f2e2f70.zip |
www-apps/gitea: remove unused files
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11815
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/gitea/files/gitea.confd | 2 | ||||
-rw-r--r-- | www-apps/gitea/files/gitea.initd-r1 | 26 | ||||
-rw-r--r-- | www-apps/gitea/files/gitea.service | 28 |
3 files changed, 0 insertions, 56 deletions
diff --git a/www-apps/gitea/files/gitea.confd b/www-apps/gitea/files/gitea.confd deleted file mode 100644 index 8b1710b06fbc..000000000000 --- a/www-apps/gitea/files/gitea.confd +++ /dev/null @@ -1,2 +0,0 @@ -# arguments for gitea -command_args="--config /var/lib/gitea/conf/app.ini" diff --git a/www-apps/gitea/files/gitea.initd-r1 b/www-apps/gitea/files/gitea.initd-r1 deleted file mode 100644 index 6f957d426c08..000000000000 --- a/www-apps/gitea/files/gitea.initd-r1 +++ /dev/null @@ -1,26 +0,0 @@ -#!/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" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-git} -group=${group:-git} - -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=${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" - -depend() { - need net - after net -} - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" -} diff --git a/www-apps/gitea/files/gitea.service b/www-apps/gitea/files/gitea.service deleted file mode 100644 index 733e05ea1ed3..000000000000 --- a/www-apps/gitea/files/gitea.service +++ /dev/null @@ -1,28 +0,0 @@ -[Unit] -Description=Gitea service -Documentation=https://docs.gitea.io/ - -AssertPathIsDirectory=/var/lib/gitea -AssertPathIsReadWrite=/var/lib/gitea - -After=network.target -Requires=network.target -After=mysqld.service -After=postgresql.service -After=memcached.service -After=redis.service - -[Service] -User=git -Group=git - -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 - -Restart=always -PrivateTmp=true -Nice=5 - -[Install] -WantedBy=multi-user.target |