summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/redis/files/redis.initd-5')
-rw-r--r--dev-db/redis/files/redis.initd-54
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-db/redis/files/redis.initd-5 b/dev-db/redis/files/redis.initd-5
index a567b1e210d8..bfeeb6925ec0 100644
--- a/dev-db/redis/files/redis.initd-5
+++ b/dev-db/redis/files/redis.initd-5
@@ -9,8 +9,10 @@
: ${REDIS_GROUP:=redis}
: ${REDIS_TIMEOUT:=30}
+# https://bugs.gentoo.org/631002#c10
+# Force '--daemonize no' to override the config file
command="/usr/sbin/redis-server"
-command_args="${REDIS_OPTS}"
+command_args="${REDIS_OPTS} --daemonize no"
command_background="true"
command_user="${REDIS_USER}:${REDIS_GROUP}"
pidfile="/run/${RC_SVCNAME}.pid"