From 556f27c393f76c1f215e5f426145608ebd9b77ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Nov 2020 13:56:48 +0100 Subject: move configuration in /etc/redis per upstream recommendation see https://github.com/redis/redis/issues/8051 --- redis-sentinel.service | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'redis-sentinel.service') diff --git a/redis-sentinel.service b/redis-sentinel.service index ec4ade4..a055cf5 100644 --- a/redis-sentinel.service +++ b/redis-sentinel.service @@ -1,10 +1,12 @@ [Unit] Description=Redis Sentinel After=network.target +After=network-online.target +Wants=network-online.target [Service] -ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no --supervised systemd -ExecStop=/usr/libexec/redis-shutdown redis-sentinel +ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf --daemonize no --supervised systemd +ExecStop=/usr/libexec/redis-shutdown sentinel Type=notify User=redis Group=redis -- cgit