]> git.mxchange.org Git - friendica.git/blobdiff - bin/wait-for-connection
Changed statistics query for nodeinfo
[friendica.git] / bin / wait-for-connection
index eeb9ba980dbc21db688f9f534cff2726e990b0c5..e73a98b077bab8d4d46a616b19d7e7d3aaaa42d1 100755 (executable)
@@ -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: