Skip to content

Commit

Permalink
check that socket is released but with shorter sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaceccanti committed Jun 4, 2015
1 parent 04edb1e commit 99f1d0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/init.d/storm-frontend-server.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ case "$1" in
echo -n "Stopping $prog.."
kill -9 `cat $PIDFILE` >& /dev/null
if [ $? -eq 0 ]; then
check_if_running
while [ $? -eq $TRUE ]; do
echo -n "."
sleep .1
check_if_running
done
rm -f $PIDFILE
RETVAL=0
echo " ok"
Expand Down

0 comments on commit 99f1d0f

Please sign in to comment.