Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1022 from liqd/2016-12-12-mf-fix-shutdown-script
Browse files Browse the repository at this point in the history
Fix shutdown script
  • Loading branch information
fisx committed Dec 12, 2016
2 parents 71adf4d + 44619e5 commit fc000a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/shutdown.sh
Expand Up @@ -14,7 +14,7 @@ for i in `ls $AULA_ROOT_PATH/run`; do
pidfile=$AULA_ROOT_PATH/run/$i
pid=`cat $pidfile`
echo -n " $pid"
kill $pid || echo "(pid file must have been stale)"
kill -INT $pid || echo "(pid file must have been stale)"
while (ps -ax | grep '^\s*'$pid | grep -q 'aula-server$'); do
echo -n '.'; sleep 0.42
done
Expand Down

0 comments on commit fc000a5

Please sign in to comment.