mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2025-01-03 11:22:13 +01:00
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:
parent
474b4d7956
commit
1d84dc23d5
1 changed files with 10 additions and 14 deletions
|
@ -2,8 +2,10 @@
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
#
|
#
|
||||||
# Provides: fail2rest
|
# Provides: fail2rest
|
||||||
# Required-Start : $remote_fs
|
# Required-Start: $remote_fs $syslog
|
||||||
# Required-Stop : $remote_fs
|
# Required-Stop: $remote_fs $syslog
|
||||||
|
# Should-Start: fail2ban
|
||||||
|
# Should-Stop: fail2ban
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: fail2rest initscript
|
# Short-Description: fail2rest initscript
|
||||||
|
@ -21,12 +23,6 @@ DAEMON_ARGS="-config=$DAEMON_DIR/config.json" #CHANGE TO THE NAME OF YOUR FAIL2
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
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
|
# Load the VERBOSE setting and other rcS variables
|
||||||
. /lib/init/vars.sh
|
. /lib/init/vars.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue