Permalink
Browse files

Merge pull request #2191 from richardkchapman/precise-workaround-2187

gh-2187 hpcc-init fails to stop thor on Ubuntu 12.04

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
  • Loading branch information...
2 parents 63c1b9e + 293d227 commit 2f92b49652f97ff61eb007ad880396df0d6d330e @richardkchapman richardkchapman committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 initfiles/componentfiles/thor/stop_thor
@@ -44,7 +44,7 @@ if [ "$#" -lt "2" ] || [ "$2" != "keep_sentinel" ]; then
sleep 1
fi
-masterproc="thormaster_$THORNAME"
+masterproc="$instancedir/thormaster_$THORNAME"
while [ "`${PIDOF} $masterproc`" != "" ]
do
echo --------------------------
@@ -58,7 +58,7 @@ done
echo --------------------------
echo stopping thor slaves
-slaveproc="thorslave_$THORNAME"
+slaveproc="$instancedir/thorslave_$THORNAME"
if [ "$localthor" = "true" ]; then
killall -9 $slaveproc
else

0 comments on commit 2f92b49

Please sign in to comment.