summaryrefslogtreecommitdiffstats
path: root/redis-sentinel.service
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-09-05 09:22:41 +0200
committerRemi Collet <remi@remirepo.net>2017-09-05 09:22:41 +0200
commitc8b96056bc3d95c489bad953bfa81ab08d039e0a (patch)
treea22fb0a0686690f8d086df8b6464b425b9ad6ab7 /redis-sentinel.service
parente66ed55eed132e9117b2ff5d29a8953b695ecdf3 (diff)
switch systemd unit to Type=notify, see rhbz #1172841
Diffstat (limited to 'redis-sentinel.service')
-rw-r--r--redis-sentinel.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis-sentinel.service b/redis-sentinel.service
index 0c87ff7..4af71f8 100644
--- a/redis-sentinel.service
+++ b/redis-sentinel.service
@@ -3,7 +3,8 @@ Description=Redis Sentinel
After=network.target
[Service]
-ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no
+Type=notify
+ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no --supervised systemd
ExecStop=/usr/libexec/redis-shutdown redis-sentinel
User=redis
Group=redis