From e5d8e8f1b13af2b61d61288a50dcc0cd56097735 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... --- Reaktor/commands/nag | 2 -- Reaktor/config.py | 1 - 2 files changed, 3 deletions(-) diff --git a/Reaktor/commands/nag b/Reaktor/commands/nag index c07ed5b8..8454d84b 100755 --- a/Reaktor/commands/nag +++ b/Reaktor/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/Reaktor/config.py b/Reaktor/config.py index 98f17d67..a09d1bce 100644 --- a/Reaktor/config.py +++ b/Reaktor/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