Skip to content

Commit 2dd556b

Browse files
author
Simon Tennant
committed
Ensure that the XMPP server recognises the port disconnect
1 parent 30777e1 commit 2dd556b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/init.d/buddycloud-server-java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ case "$1" in
7777
do_stop
7878
case "$?" in
7979
0|1)
80+
# ensure that the XMPP server recognises the port disconnect
81+
sleep 10
8082
do_start
8183
case "$?" in
8284
0) log_end_msg 0 ;;
@@ -96,4 +98,4 @@ case "$1" in
9698
;;
9799
esac
98100

99-
:
101+
:

0 commit comments

Comments
 (0)