source: trunk/third/moira/gen/nagios-wsh.sh @ 23740

Revision 23740, 280 bytes checked in by broder, 16 years ago (diff)
In moira: * New CVS snapshot (Trac: #195) * Drop patches that have been incorporated upstream. * Update to build without krb4 on systems that no longer have it. This doesn't build yet on squeeze, which lacks a krb4 library, but I'm committing now before I start hacking away at a patch to fix that.
Line 
1#!/bin/sh
2# $Id: nagios-wsh.sh,v 1.1 2008-01-16 16:56:09 zacheiss Exp $
3
4file=/var/nagios/etc/moira-wsh-hosts.cfg
5
6if [ -d /var/athena ] && [ -w /var/athena ]; then
7    exec >/var/athena/moira_update.log 2>&1
8else
9    exec >/tmp/moira_update.log 2>&1
10fi
11
12chmod 644 $file
13
14exit 0
Note: See TracBrowser for help on using the repository browser.