diff options
author | John Helmert III <jchelmert3@posteo.net> | 2021-01-29 23:30:03 -0600 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-11 10:56:04 +0200 |
commit | 0fb35bbe4a10508a873921ab71435681db43d24b (patch) | |
tree | 86b92034b3ac3c759aafe1207e1556fd39f035e5 /net-misc/apt-cacher-ng | |
parent | net-misc/apt-cacher-ng: update live (diff) | |
download | gentoo-0fb35bbe4a10508a873921ab71435681db43d24b.tar.gz gentoo-0fb35bbe4a10508a873921ab71435681db43d24b.tar.bz2 gentoo-0fb35bbe4a10508a873921ab71435681db43d24b.zip |
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@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19261
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/apt-cacher-ng')
-rw-r--r-- | net-misc/apt-cacher-ng/files/confd-r1 | 3 | ||||
-rw-r--r-- | net-misc/apt-cacher-ng/files/initd-r2 | 34 |
2 files changed, 0 insertions, 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 84b659bc488b..000000000000 --- 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 ae9ab7258cc4..000000000000 --- 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 $? -} |