From 15ee54d8997d841b13171abd7d4f779389c641d8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 Sep 2016 12:14:11 +0200 Subject: redis: add missing LSB headers to init scripts --- redis-sentinel.init | 8 ++++++++ redis.init | 8 ++++++++ redis.spec | 1 + 3 files changed, 17 insertions(+) diff --git a/redis-sentinel.init b/redis-sentinel.init index a3b82df..1f8c005 100644 --- a/redis-sentinel.init +++ b/redis-sentinel.init @@ -4,6 +4,14 @@ # # chkconfig: - 21 79 # description: Starts and stops the redis-sentinel daemon. +# +### BEGIN INIT INFO +# Provides: redis-sentinel +# Required-Start: $local_fs $remote_fs $network +# Required-Stop: $local_fs $remote_fs $network +# Short-Description: start and stop Sentinel server +# Description: A persistent key-value database +### END INIT INFO # Source function library. . /etc/rc.d/init.d/functions diff --git a/redis.init b/redis.init index a459076..508a6ec 100644 --- a/redis.init +++ b/redis.init @@ -4,6 +4,14 @@ # # chkconfig: - 20 80 # description: Starts and stops the redis daemon. +# +### BEGIN INIT INFO +# Provides: redis-server +# Required-Start: $local_fs $remote_fs $network +# Required-Stop: $local_fs $remote_fs $network +# Short-Description: start and stop Redis server +# Description: A persistent key-value database +### END INIT INFO # Source function library. . /etc/rc.d/init.d/functions diff --git a/redis.spec b/redis.spec index 180af78..148dfe0 100644 --- a/redis.spec +++ b/redis.spec @@ -271,6 +271,7 @@ fi %changelog * Wed Sep 14 2016 Remi Collet - 3.2.3-4 - move redis-shutdown to libexec +- add missing LSB headers to init scripts * Fri Sep 9 2016 Remi Collet - 3.2.3-3 - add patch from https://github.com/antirez/redis/pull/3494 -- cgit