Add some explanations about the new scripts

This commit is contained in:
Philipp Holzer 2019-09-30 14:33:49 +02:00
parent 817a2f4a52
commit cd46a5650a
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 21 additions and 1 deletions

View file

@ -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}]
<?php
$timeout = 60;