summaryrefslogtreecommitdiffstats
path: root/redis-sentinel.service
diff options
context:
space:
mode:
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r--redis-sentinel.service6
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