mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Fix wait-for-connection script comment
This commit is contained in:
parent
b1bfafe1f5
commit
11be31d601
1 changed files with 8 additions and 5 deletions
|
@ -1,11 +1,14 @@
|
|||
#!/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
|
||||
|
||||
/**
|
||||
* 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}]
|
||||
*/
|
||||
|
||||
$timeout = 60;
|
||||
switch ($argc) {
|
||||
case 4:
|
||||
|
|
Loading…
Reference in a new issue