From 6bbabf7a556b900e488b1a8b13eec65308109734 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 15 Jul 2014 12:28:45 +0200 Subject: Reaktor nag: don't cd $workdir Because Reaktor already does it... --- commands/nag | 2 -- config.py | 1 - 2 files changed, 3 deletions(-) diff --git a/commands/nag b/commands/nag index c07ed5b..8454d84 100755 --- a/commands/nag +++ b/commands/nag @@ -1,8 +1,6 @@ #! /bin/sh set -euf -cd "$workdir" - if test -e nag.hosts; then echo "nag seems to run already... if not, then delete $workdir/nag.*, please" exit 23 diff --git a/config.py b/config.py index 98f17d6..a09d1bc 100644 --- a/config.py +++ b/config.py @@ -86,7 +86,6 @@ on_ping = [ 'capname': 'nag', 'argv': [ 'commands/nag' ], 'env': { - 'workdir': workdir, 'hostsdir': '/home/tv/krebs/hosts', 'servicesdir': '/home/tv/krebs/services' }, -- cgit v1.2.3