summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-14 12:14:11 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-14 12:14:11 +0200
commit15ee54d8997d841b13171abd7d4f779389c641d8 (patch)
tree9fafb126626cd3a81140498c3b6dbb8934e7e20a
parent31ab3b309a10c9ebaa89fe9f0d8d77556553253f (diff)
redis: add missing LSB headers to init scripts
-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