Update services.inc
This commit is contained in:
@@ -426,7 +426,7 @@ SERVICE_MGMT(){
|
|||||||
|
|
||||||
if [ "${NOGOCHK}" == "true" ]; then
|
if [ "${NOGOCHK}" == "true" ]; then
|
||||||
if [ ${QUIET} -eq 0 ]; then
|
if [ ${QUIET} -eq 0 ]; then
|
||||||
echo -en "${NM_SRVCOPTS[${SERVICE['action']}]}ing on ${nodename} ($nip)... ${idsCL[Default]}"
|
echo -en "1${NM_SRVCOPTS[${SERVICE['action']}]}ing on ${nodename} ($nip)... ${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
checkhost=$(CHECK_HOST ${nip})
|
checkhost=$(CHECK_HOST ${nip})
|
||||||
if [ "${checkhost}" != "false" ]; then
|
if [ "${checkhost}" != "false" ]; then
|
||||||
@@ -485,7 +485,7 @@ SERVICE_MGMT(){
|
|||||||
done
|
done
|
||||||
|
|
||||||
else #no-nodetypes, standalone setup
|
else #no-nodetypes, standalone setup
|
||||||
echo -en "${NM_SRVCOPTS[${SERVICE['action']}]}ing on localhost ... ${idsCL[Default]}"
|
echo -en "2${NM_SRVCOPTS[${SERVICE['action']}]}ing on localhost ... ${idsCL[Default]}"
|
||||||
if [ "${SERVICE['action']}" != "status" ]; then
|
if [ "${SERVICE['action']}" != "status" ]; then
|
||||||
systemctl ${SERVICE['action']} ${srva} >/dev/null 2>&1
|
systemctl ${SERVICE['action']} ${srva} >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user