update launch app and launch services scripts to use timouts

This commit is contained in:
2019-02-05 22:15:51 -05:00
parent 32268ea916
commit 72cf28aa56
5 changed files with 137 additions and 24 deletions

View File

@@ -83,7 +83,7 @@ fi
# Be nice, post SIGTERM first.
# The 'exit 0' below will be executed if any preceeding command fails.
kill -s SIGTERM $$ && kill -0 $$ || exit 0
kill -s SIGINT $$ && kill -0 $$ || exit 0
sleep $delay
kill -s SIGKILL $$
) 2> /dev/null &