run-xxxd.sh: trap some more signals for --shell