]> andersk Git - moira.git/blobdiff - gen/hesiod.sh
lpcaccess DCM
[moira.git] / gen / hesiod.sh
index abf1dddf04072db9e2847313d100b7e3489add74..e36ac5717191dede252b3d6eefccaa84742609dc 100644 (file)
@@ -2,7 +2,12 @@
 # This script performs updates of hesiod files on hesiod servers.
 # $Header$
 
-exec >/tmp/moira_update.log 2>&1
+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
+
 set -x 
 
 PATH=/etc:/bin:/usr/bin:/usr/etc:/usr/athena/etc
This page took 0.030823 seconds and 4 git commands to generate.