From c8b96056bc3d95c489bad953bfa81ab08d039e0a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Sep 2017 09:22:41 +0200 Subject: switch systemd unit to Type=notify, see rhbz #1172841 --- redis-sentinel.service | 3 ++- redis.service | 3 ++- redis.spec | 5 ++++- 3 files changed, 8 insertions(+), 3 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 diff --git a/redis.service b/redis.service index 6c19f81..ccb776e 100644 --- a/redis.service +++ b/redis.service @@ -3,7 +3,8 @@ Description=Redis persistent key-value database After=network.target [Service] -ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no +Type=notify +ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no --supervised systemd ExecStop=/usr/libexec/redis-shutdown User=redis Group=redis diff --git a/redis.spec b/redis.spec index 29f55b0..1d212c6 100644 --- a/redis.spec +++ b/redis.spec @@ -34,7 +34,7 @@ Name: redis Version: 4.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A persistent key-value database Group: Applications/Databases @@ -303,6 +303,9 @@ fi %changelog +* Tue Sep 5 2017 Remi Collet - 4.0.1-3 +- switch systemd unit to Type=notify, see rhbz #1172841 + * Fri Aug 18 2017 Remi Collet - 4.0.1-2 - Add redis-trib based on patch from Sebastian Saletnik. (RHBZ #1215654) -- cgit