Skip to content
Browse files

Merge pull request #2190 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 895e4e9 + 293d227 commit 6960fc5cd018838b35b62149e2c3bd21e31731ba @richardkchapman richardkchapman committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 initfiles/componentfiles/thor/stop_thor
View
4 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 6960fc5

Please sign in to comment.
Something went wrong with that request. Please try again.