HPCC-10268 Turn on line execution trace with 'set -x' and redirect to log file
           /var/log/HPCCSystems/hpcc-init.log. Add 'sleep 1' in stop process loop
           which reduces unnecessary iterations.
Merge pull request #5405 from xwang2713/HPCC-10268

HPCC-10268 Add a log file for hpcc-init

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>