summaryrefslogtreecommitdiff
path: root/dev-db/redis/files/redis.initd-4
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-08-14 20:09:02 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2018-08-14 20:09:45 -0700
commit248dbab6baed691d61011be1a4115b25e2f05e4f (patch)
treefc1440758d14b2823f0b575474fa8cfae978fd2f /dev-db/redis/files/redis.initd-4
parent35b195eba46097fa186c8db11eb0ff7f5cc832ca (diff)
downloadgentoo-248dbab6baed691d61011be1a4115b25e2f05e4f.tar.gz
gentoo-248dbab6baed691d61011be1a4115b25e2f05e4f.tar.bz2
gentoo-248dbab6baed691d61011be1a4115b25e2f05e4f.zip
dev-db/redis: cleanup old ebuilds
Bug: https://bugs.gentoo.org/631002 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-db/redis/files/redis.initd-4')
-rw-r--r--dev-db/redis/files/redis.initd-431
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-db/redis/files/redis.initd-4 b/dev-db/redis/files/redis.initd-4
deleted file mode 100644
index 5c12fdc7c79d..000000000000
--- a/dev-db/redis/files/redis.initd-4
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-
-REDIS_DIR=${REDIS_DIR:-/var/lib/redis}
-REDIS_CONF=${REDIS_CONF:-/etc/redis.conf}
-REDIS_OPTS=${REDIS_OPTS:-"${REDIS_CONF}"}
-REDIS_USER=${REDIS_USER:-redis}
-REDIS_GROUP=${REDIS_GROUP:-redis}
-REDIS_TIMEOUT=${REDIS_TIMEOUT:-30}
-
-command=/usr/sbin/redis-server
-pidfile=${REDIS_PID:-/run/redis/redis.pid}
-start_stop_daemon_args="--background --pidfile ${pidfile} --chdir \"${REDIS_DIR}\" --user ${REDIS_USER} --group ${REDIS_GROUP}"
-command_args="${REDIS_OPTS}"
-
-depend() {
- use net localmount logger
- after keepalived
-}
-
-start_pre() {
- checkpath -d -m 0775 -o ${REDIS_USER}:${REDIS_GROUP} $(dirname ${REDIS_PID})
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop \
- --exec ${command} \
- --retry ${REDIS_TIMEOUT} \
- --pidfile ${pidfile}
- eend
-}