Update services.inc
This commit is contained in:
@@ -238,7 +238,7 @@ SERVICE(){
|
|||||||
${PH_CMD} rm -f ${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}/test.repl
|
${PH_CMD} rm -f ${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}/test.repl
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "${1}" = "pdns" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
|
elif [ "${1}" = "pdns" ] && ([ "${3}" == "" ] || [ "${3}" == "all" ]); then
|
||||||
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
||||||
if [ "${3}" != "ns" ]; then
|
if [ "${3}" != "ns" ]; then
|
||||||
if [ "${3}" != "q" ]; then
|
if [ "${3}" != "q" ]; then
|
||||||
@@ -262,7 +262,6 @@ SERVICE(){
|
|||||||
${PH_CMD} rm -f /etc/powerdns/test.repl
|
${PH_CMD} rm -f /etc/powerdns/test.repl
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [ "${1}" = "apache2-x" ]; then
|
elif [ "${1}" = "apache2-x" ]; then
|
||||||
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
|
||||||
if [ "${3}" != "ns" ]; then
|
if [ "${3}" != "ns" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user