]> andersk Git - moira.git/blobdiff - gen/sapprint.sh
Install commands for nagios-printers service.
[moira.git] / gen / sapprint.sh
index 5605ef62be87a137ea6fb72b35c2bcad82a3128e..a32d6da8ced32122c72dacc94da485b397aeb974 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.05639 seconds and 4 git commands to generate.