]> andersk Git - moira.git/blobdiff - gen/boot.sh
WSH Nagios config.
[moira.git] / gen / boot.sh
index 6ca1e418a2820be2e7baea588ec081c57de50ba1..5ded8df1a2debdcc1e0d41950dc04a9f7c7fc098 100755 (executable)
@@ -1,6 +1,12 @@
 #! /bin/sh
 # $Id$
 
+if [ -d /var/athena ] && [ -w /var/athena ]; then
+    exec >/var/athena/moira_update.log 2>&1
+else
+    exec >/tmp/moira_update.log 2>&1
+fi
+
 # The following exit codes are defined and MUST BE CONSISTENT with the
 # error codes the library uses:
 MR_MISSINGFILE=47836473
This page took 0.153152 seconds and 4 git commands to generate.