summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2014-05-01 11:35:55 -0400
committerBill Peck <bpeck@redhat.com>2014-05-01 11:35:55 -0400
commit64218eda5f5ff105995b9451610fe221b4b513cf (patch)
tree646a6642f5d9602ff7dae972ca8bb2f869ea88e8
parenta141c68e340c40f9c50b3a62ec4dd18b982ffd5e (diff)
downloadtests-64218eda5f5ff105995b9451610fe221b4b513cf.tar.gz
tests-64218eda5f5ff105995b9451610fe221b4b513cf.tar.xz
tests-64218eda5f5ff105995b9451610fe221b4b513cf.zip
run another copy of restraintd to allow tasks to be debugged from reservesys task
-rwxr-xr-xdistribution/reservesys/reservesys.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/distribution/reservesys/reservesys.sh b/distribution/reservesys/reservesys.sh
index f5b6ce1..7e1851d 100755
--- a/distribution/reservesys/reservesys.sh
+++ b/distribution/reservesys/reservesys.sh
@@ -210,6 +210,12 @@ if [ -n "$RSTRNT_REBOOTCOUNT" ]; then
fi
fi
+# Run another copy of restraint on a different port
+# This makes it easy to develop/debug new tasks.
+
+restraintd --port 8082
+
+
# We stay running in restraint..
while (true); do
sleep 5