Fixed reload with -HUP

Fixed reload with -HUP and added _TERM (that is default anyway)
This commit is contained in:
MassimilianoPinto
2014-06-29 18:37:05 +02:00
parent 4b0d66f66a
commit 0743177fbd

View File

@ -82,8 +82,7 @@ start() {
stop() {
echo -n $"Stopping MaxScale: "
killproc -p $MAXSCALE_PIDFILE
killproc -p $MAXSCALE_PIDFILE -TERM
RETVAL=$?
@ -102,7 +101,7 @@ stop() {
reload() {
echo -n $"Reloading MaxScale: "
killproc -p $MAXSCALE_PIDFILE -HUP
killproc -p $MAXSCALE_PIDFILE $MAXSCALE_BIN/maxscale -HUP
RETVAL=$?
echo
}