commit: 0fb35bbe4a10508a873921ab71435681db43d24b Author: John Helmert III <jchelmert3 <AT> posteo <DOT> net> AuthorDate: Sat Jan 30 05:30:03 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Feb 11 08:56:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb35bbe
net-misc/apt-cacher-ng: remove old openrc files Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net> Closes: https://github.com/gentoo/gentoo/pull/19261 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-misc/apt-cacher-ng/files/confd-r1 | 3 --- net-misc/apt-cacher-ng/files/initd-r2 | 34 ---------------------------------- 2 files changed, 37 deletions(-) diff --git a/net-misc/apt-cacher-ng/files/confd-r1 b/net-misc/apt-cacher-ng/files/confd-r1 deleted file mode 100644 index 84b659bc488..00000000000 --- a/net-misc/apt-cacher-ng/files/confd-r1 +++ /dev/null @@ -1,3 +0,0 @@ -# Additional options that are passed to the Daemon. -DAEMON_OPTS=" -c /etc/apt-cacher-ng " -LOGDIR="" diff --git a/net-misc/apt-cacher-ng/files/initd-r2 b/net-misc/apt-cacher-ng/files/initd-r2 deleted file mode 100644 index ae9ab7258cc..00000000000 --- a/net-misc/apt-cacher-ng/files/initd-r2 +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -CACHEDIR="var/cache/${RC_SVCNAME}" -DAEMON="/usr/sbin/${RC_SVCNAME}" -RUNDIR="/var/run/${RC_SVCNAME}" -PIDFILE="${RUNDIR}/${RC_SVCNAME}.pid" -SOCKETFILE="${RUNDIR}/${RC_SVCNAME}.socket" -DAEMON_OPTS="${DAEMON_OPTS} pidfile=${PIDFILE} SocketPath=${SOCKETFILE} foreground=0" - -depend() { - use net -} - -start() { - ebegin "Starting ${RC_SVCNAME}" - checkpath -d -m 0755 -o ${RC_SVCNAME}:${RC_SVCNAME} "${RUNDIR}" - checkpath -d -m 0755 -o ${RC_SVCNAME}:${RC_SVCNAME} "${CACHEDIR}" - [ -z "${LOGDIR}" ] && checkpath -d -m 0755 -o ${RC_SVCNAME}:${RC_SVCNAME} "/var/log/${RC_SVCNAME}" - start-stop-daemon --start --exec ${DAEMON} \ - --user ${RC_SVCNAME} --group ${RC_SVCNAME} \ - --pidfile ${PIDFILE} \ - -- ${DAEMON_OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${RC_SVCNAME}" - start-stop-daemon --stop --retry 15 --exec ${DAEMON} \ - --pidfile ${PIDFILE} - rm -f ${PIDFILE} - eend $? -}
