diff options
| author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-02-04 21:31:26 +0000 |
|---|---|---|
| committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-02-04 23:25:33 +0100 |
| commit | f9abb428531c961ec01d02379cd1e83a04a6d06a (patch) | |
| tree | 2d34b59c4c2e524103a2c08dbf47822854ee9714 /dev-db/redis/files/redis-sentinel.initd-r1 | |
| parent | 01f99d6eb4c04da49f3446794854e3deafeca7d4 (diff) | |
| download | gentoo-f9abb428531c961ec01d02379cd1e83a04a6d06a.tar.gz gentoo-f9abb428531c961ec01d02379cd1e83a04a6d06a.tar.bz2 gentoo-f9abb428531c961ec01d02379cd1e83a04a6d06a.zip | |
dev-db/redis: bump to 6.0.10
Configuration moved to /etc/redis directory
Closes: https://bugs.gentoo.org/768189
Closes: https://bugs.gentoo.org/759481
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19335
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/redis/files/redis-sentinel.initd-r1')
| -rw-r--r-- | dev-db/redis/files/redis-sentinel.initd-r1 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-db/redis/files/redis-sentinel.initd-r1 b/dev-db/redis/files/redis-sentinel.initd-r1 new file mode 100644 index 000000000000..1680b180acf8 --- /dev/null +++ b/dev-db/redis/files/redis-sentinel.initd-r1 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +: ${REDIS_SENTINEL_DIR:=/tmp} +: ${REDIS_SENTINEL_CONF:=/etc/redis/sentinel.conf} +: ${REDIS_SENTINEL_USER:=redis} +: ${REDIS_SENTINEL_GROUP:=redis} +: ${REDIS_SENTINEL_TIMEOUT:=30} + +command="/usr/sbin/redis-sentinel" +command_args="${REDIS_SENTINEL_CONF}" +command_background="true" +command_user="${REDIS_SENTINEL_USER}:${REDIS_SENTINEL_GROUP}" +pidfile="/run/${RC_SVCNAME}.pid" +retry="${REDIS_SENTINEL_TIMEOUT}" +start_stop_daemon_args="--chdir \"${REDIS_SENTINEL_DIR}\"" + +depend() { + use localmount logger + after keepalived redis +} |
