From f9abb428531c961ec01d02379cd1e83a04a6d06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20M=C3=B3zes?= Date: Thu, 4 Feb 2021 21:31:26 +0000 Subject: dev-db/redis: bump to 6.0.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Configuration moved to /etc/redis directory Closes: https://bugs.gentoo.org/768189 Closes: https://bugs.gentoo.org/759481 Signed-off-by: Tomáš Mózes Closes: https://github.com/gentoo/gentoo/pull/19335 Signed-off-by: Thomas Deutschmann --- dev-db/redis/files/redis.initd-6 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-db/redis/files/redis.initd-6 (limited to 'dev-db/redis/files/redis.initd-6') diff --git a/dev-db/redis/files/redis.initd-6 b/dev-db/redis/files/redis.initd-6 new file mode 100644 index 000000000000..a31669b353e8 --- /dev/null +++ b/dev-db/redis/files/redis.initd-6 @@ -0,0 +1,25 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +: ${REDIS_DIR:=/var/lib/redis} +: ${REDIS_CONF:=/etc/redis/redis.conf} +: ${REDIS_OPTS:="${REDIS_CONF}"} +: ${REDIS_USER:=redis} +: ${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} --daemonize no" +command_background="true" +command_user="${REDIS_USER}:${REDIS_GROUP}" +pidfile="/run/${RC_SVCNAME}.pid" +retry="${REDIS_TIMEOUT}" +start_stop_daemon_args="--chdir \"${REDIS_DIR}\"" + +depend() { + use localmount logger + after keepalived +} -- cgit v1.2.3