summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redis-sentinel.service2
-rw-r--r--redis.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/redis-sentinel.service b/redis-sentinel.service
index 15463cf..ec4ade4 100644
--- a/redis-sentinel.service
+++ b/redis-sentinel.service
@@ -3,7 +3,7 @@ Description=Redis Sentinel
After=network.target
[Service]
-ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --supervised systemd
+ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no --supervised systemd
ExecStop=/usr/libexec/redis-shutdown redis-sentinel
Type=notify
User=redis
diff --git a/redis.service b/redis.service
index 88e9edc..94ef85b 100644
--- a/redis.service
+++ b/redis.service
@@ -3,7 +3,7 @@ Description=Redis persistent key-value database
After=network.target
[Service]
-ExecStart=/usr/bin/redis-server /etc/redis.conf --supervised systemd
+ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no --supervised systemd
ExecStop=/usr/libexec/redis-shutdown
Type=notify
User=redis