]> git.mxchange.org Git - friendica.git/commitdiff
Fix wait-for-connection script comment
authornupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 21:27:05 +0000 (22:27 +0100)
committernupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 21:27:05 +0000 (22:27 +0100)
bin/wait-for-connection

index eeb9ba980dbc21db688f9f534cff2726e990b0c5..3b4902d1c4b70c5ebd2054754caaeea71d764081 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: