reload|force-reload) if test "$checkconfig" = "true"; then printf "Running configuration check...\n" check_config fi if test ! -f $NagiosRunFile; then $0 start else pid_nagios if status_nagios > /dev/null; then printf "Reloading nagios configuration...\n" killproc_nagios HUP echo "done" else $0 stop $0 start fi fi ;;
Обсуждают сегодня