summaryrefslogtreecommitdiffstats
path: root/Reaktor
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-15 12:28:45 +0200
committertv <tv@shackspace.de>2014-07-15 12:28:45 +0200
commite5d8e8f1b13af2b61d61288a50dcc0cd56097735 (patch)
tree2b0dab46b5fee0160d6b2dea72e213baa624178c /Reaktor
parent40b6bc968a5b6d1d12d2cddefeeb472fa8462f9a (diff)
Reaktor nag: don't cd $workdir
Because Reaktor already does it...
Diffstat (limited to 'Reaktor')
-rwxr-xr-xReaktor/commands/nag2
-rw-r--r--Reaktor/config.py1
2 files changed, 0 insertions, 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'
},