diff options
author | Remi Collet <remi@remirepo.net> | 2020-11-23 13:56:48 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-11-23 13:56:48 +0100 |
commit | 556f27c393f76c1f215e5f426145608ebd9b77ca (patch) | |
tree | b06b4fa0adbc7b7549ec8eebfcd166bbedb10067 /redis-sentinel.service | |
parent | 70ef0b40a559570e9588c7b22933a1f60625afe5 (diff) |
move configuration in /etc/redis per upstream recommendation
see https://github.com/redis/redis/issues/8051
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r-- | redis-sentinel.service | 6 |
1 files changed, 4 insertions, 2 deletions
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 |