diff options
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r-- | redis-sentinel.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redis-sentinel.service b/redis-sentinel.service index ec4ade4..0bcc990 100644 --- a/redis-sentinel.service +++ b/redis-sentinel.service @@ -1,10 +1,11 @@ [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 Type=notify User=redis Group=redis |