PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` #!/bin/sh # Load sysconf on systems where the initsystem does not pass the environment if [ "$1" != "" ]; then if [ -r "$1" ]; then . "$1" else echo "Unable to read sysconf from '$1'. Exiting." && exit 6 fi fi # Set defaults, to overwrite see "/etc/sysconfig/icinga2" : ${ICINGA2_PID_FILE:="/run/icinga2/icinga2.pid"} : ${DAEMON:="/usr/sbin/icinga2"} printf "Validating config files: " OUTPUTFILE=`mktemp` if type selinuxenabled >/dev/null 2>&1; then if selinuxenabled; then chcon -t icinga2_tmp_t $OUTPUTFILE >/dev/null 2>&1 fi fi if ! $DAEMON daemon --validate --color > $OUTPUTFILE; then echo "Failed" cat $OUTPUTFILE rm -f $OUTPUTFILE exit 1 fi echo "Done" rm -f $OUTPUTFILE printf "Reloading Icinga 2: " if [ ! -e $ICINGA2_PID_FILE ]; then exit 7 fi pid=`cat $ICINGA2_PID_FILE` if ! kill -HUP $pid >/dev/null 2>&1; then echo "Error: Icinga not running" exit 7 fi echo "Done" exit 0