Ok, this should fix the init info

Ok, this should fix the init info.

I tested it out and it came up in the correct order for me.
This commit is contained in:
Phillip Moore 2014-07-21 14:27:54 -05:00
parent 474b4d7956
commit 1d84dc23d5

View file

@ -1,13 +1,15 @@
#! /bin/sh
### BEGIN INIT INFO
#
# Provides : fail2rest
# Required-Start : $remote_fs
# Required-Stop : $remote_fs
# Default-Start : 2 3 4 5
# Default-Stop : 0 1 6
# Short-Description : fail2rest initscript
# Description : fail2rest is a small REST server that aims allow full administration of a fail2ban server via HTTP
# Provides: fail2rest
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: fail2ban
# Should-Stop: fail2ban
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: fail2rest initscript
# Description: fail2rest is a small REST server that aims allow full administration of a fail2ban server via HTTP
#
### END INIT INFO
@ -21,12 +23,6 @@ DAEMON_ARGS="-config=$DAEMON_DIR/config.json" #CHANGE TO THE NAME OF YOUR FAIL2
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# Exit if the package is not installed
#[ -x "$DAEMON" ] || exit 0
# Read configuration variable file if it is present
#[ -r /etc/default/$NAME] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh