summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redis-sentinel.init8
-rw-r--r--redis.init8
-rw-r--r--redis.spec1
3 files changed, 17 insertions, 0 deletions
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 <remi@fedoraproject.org> - 3.2.3-4
- move redis-shutdown to libexec
+- add missing LSB headers to init scripts
* Fri Sep 9 2016 Remi Collet <remi@fedoraproject.org> - 3.2.3-3
- add patch from https://github.com/antirez/redis/pull/3494