4 # The following exit codes are defined and MUST BE CONSISTENT with
5 # error codes the library uses:
8 file=/var/nagios-cluster/etc/moira-cluster.cfg
10 initscript=/etc/init.d/nagios-cluster
12 if [ -d /var/athena ] && [ -w /var/athena ]; then
13 exec >/var/athena/moira_update.log 2>&1
15 exec >/tmp/moira_update.log 2>&1
19 diff -q $file $newfile
21 if [ $status -eq 0 ]; then
24 elif [ $status -eq 1 ]; then