X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fwait-for-connection;h=eeb9ba980dbc21db688f9f534cff2726e990b0c5;hb=b6e93c83fc9a093c3c87c91440a1f8c65f3e0b3b;hp=81f5e169e41db5b7ce4746a9cf76488875d0c346;hpb=c65d574ac3323e3d4b42788b58e00598176173de;p=friendica.git diff --git a/bin/wait-for-connection b/bin/wait-for-connection index 81f5e169e4..eeb9ba980d 100755 --- a/bin/wait-for-connection +++ b/bin/wait-for-connection @@ -1,4 +1,9 @@ #!/usr/bin/php +# +# This script tries to connect to a database for a given interval +# Useful in case of installation e.g. to wait for the database to not generate unnecessary errors +# +# Usage: php bin/wait-for-connection {HOST} {PORT} [{TIMEOUT}]