summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-03 15:47:52 +0100
committerRemi Collet <remi@remirepo.net>2020-03-03 15:47:52 +0100
commiteb5141ea19f580d806fc0e0fe3ef079c82339301 (patch)
treed302cd7bb757a1e15007960fe5c4418bb0821df2
parentc4a5636fb73a15d10f096e0aec86d0a98370b9e7 (diff)
ensure not daemonized
-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