anchor.diff:         		echo -n "Stopping nagios: "
   
          		pid_nagios
  -       		killproc_nagios nagios
  -
  +          killall -u nagios; sleep 2
  +       		#killproc_nagios nagios
          		# now we have to wait for nagios to exit and remove its
          		# own NagiosRunFile, otherwise a following "start" could
          		# happen, and then the exiting nagios will remove the
          		# new NagiosRunFile, allowing multiple nagios daemons
          		# to (sooner or later) run - John Sellens
          		#echo -n 'Waiting for nagios to exit .'
  -       		for i in {1..10}; do
  +		      for i in 1 2 3 4 5 6 7 8 9 10 ; do
          		    if status_nagios > /dev/null; then
          			echo -n '.'
          			sleep 1
  
positive.code:        			break
         		    fi
         		done
         		if status_nagios > /dev/null; then
         		    echo ''
         		    echo 'Warning - nagios did not exit in a timely manner - Killing it'
         		    pkill -9 nagios
         		else
         		    echo 'done.'
         		fi
  
negative.code: 
  
  # Source function library
  
  prefix=/usr/share/nagios
  exec_prefix=/var/lib/nagios
  