aboutsummaryrefslogtreecommitdiffstats
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
commit6bbabf7a556b900e488b1a8b13eec65308109734 (patch)
tree707c624b6caa8f70fb62f43fff437e5db2500c06
parentcc77dc1d82e66ecf2061e349f7d48ae6e527248d (diff)
Reaktor nag: don't cd $workdir
Because Reaktor already does it...
-rwxr-xr-xcommands/nag2
-rw-r--r--config.py1
2 files changed, 0 insertions, 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'
},