Commit 374cccce authored by Robert Ricci's avatar Robert Ricci

Remove 'kill', we're only using 'killall' for the magent

parent eb377588
......@@ -9,9 +9,10 @@ ARGS=$*
#
echo $SH ${MAGENT_DIR}/run-magent.sh $ARGS
$SH ${MAGENT_DIR}/run-magent.sh $ARGS
MAGENTPID=$!
# Kill the agent if we get killed - TODO: harsher kill?
trap "$AS_ROOT kill $MAGENTPID; $AS_ROOT killall $MAGENT" EXIT
# Because the magent backgrounds itself, it's harder to figure out
# what its pid is, just just do a killall
trap "$AS_ROOT killall $MAGENT" EXIT
#
# Give it time to come up
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment