add LSB headers to init scripts

This commit is contained in:
Remi Collet 2016-09-14 11:57:23 +02:00
parent 5595a23796
commit 1968d3b557
2 changed files with 16 additions and 0 deletions

View File

@ -4,6 +4,14 @@
# #
# chkconfig: - 21 79 # chkconfig: - 21 79
# description: Starts and stops the redis-sentinel daemon. # 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. # Source function library.
. /etc/rc.d/init.d/functions . /etc/rc.d/init.d/functions

View File

@ -4,6 +4,14 @@
# #
# chkconfig: - 20 80 # chkconfig: - 20 80
# description: Starts and stops the redis daemon. # 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. # Source function library.
. /etc/rc.d/init.d/functions . /etc/rc.d/init.d/functions