Added a bit of error handling to the template

This commit is contained in:
Emile Cantin 2012-04-18 10:12:01 -04:00
parent cec7f96fad
commit ee91627ee4
3 changed files with 6 additions and 6 deletions

View File

@ -25,12 +25,12 @@ SCRIPTNAME=/etc/init.d/$NAME
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
. /lib/lsb/init-functions
[ -r /lib/lsb/init-functions ] &&. /lib/lsb/init-functions
#
# Function that starts the daemon/service

View File

@ -25,12 +25,12 @@ SCRIPTNAME=/etc/init.d/$NAME
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
. /lib/lsb/init-functions
[ -r /lib/lsb/init-functions ] &&. /lib/lsb/init-functions
#
# Function that starts the daemon/service

View File

@ -25,12 +25,12 @@ SCRIPTNAME=/etc/init.d/$NAME
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
. /lib/lsb/init-functions
[ -r /lib/lsb/init-functions ] &&. /lib/lsb/init-functions
#
# Function that starts the daemon/service