diff options
author | Remi Collet <remi@remirepo.net> | 2017-09-05 09:22:41 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-09-05 09:22:41 +0200 |
commit | c8b96056bc3d95c489bad953bfa81ab08d039e0a (patch) | |
tree | a22fb0a0686690f8d086df8b6464b425b9ad6ab7 /redis.service | |
parent | e66ed55eed132e9117b2ff5d29a8953b695ecdf3 (diff) |
switch systemd unit to Type=notify, see rhbz #1172841
Diffstat (limited to 'redis.service')
-rw-r--r-- | redis.service | 3 |
1 files changed, 2 insertions, 1 deletions
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 |