diff --git a/bin/doctor b/bin/doctor index b2a4547156..16a693381c 100755 --- a/bin/doctor +++ b/bin/doctor @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php doctor $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php doctor "$@" diff --git a/bin/install b/bin/install index e669e91e6b..115f088014 100755 --- a/bin/install +++ b/bin/install @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php install $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php install "$@" \ No newline at end of file diff --git a/bin/interval b/bin/interval index e4355b1dc3..c7afa68c51 100644 --- a/bin/interval +++ b/bin/interval @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php interval $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php interval "$@" \ No newline at end of file diff --git a/bin/maintenance b/bin/maintenance index 099551cb32..2311a834e0 100644 --- a/bin/maintenance +++ b/bin/maintenance @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php maintenance $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php maintenance "$@" \ No newline at end of file diff --git a/bin/migrate b/bin/migrate index 28ebbd19e7..6527f1f8f8 100755 --- a/bin/migrate +++ b/bin/migrate @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php migrate $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php migrate "$@" \ No newline at end of file diff --git a/bin/queue-count-failed b/bin/queue-count-failed index ca8f2b4291..904514e4c2 100644 --- a/bin/queue-count-failed +++ b/bin/queue-count-failed @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=failed $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=failed "$@" \ No newline at end of file diff --git a/bin/queue-count-processing b/bin/queue-count-processing index 325d86111d..2bc906d3d0 100644 --- a/bin/queue-count-processing +++ b/bin/queue-count-processing @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=processing $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=processing "$@" \ No newline at end of file diff --git a/bin/queue-count-success b/bin/queue-count-success index 34fc54b4c1..71cafa990b 100644 --- a/bin/queue-count-success +++ b/bin/queue-count-success @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-count --type=success $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-count --type=success "$@" \ No newline at end of file diff --git a/bin/queue-retry b/bin/queue-retry index f9473e6b07..357917915d 100644 --- a/bin/queue-retry +++ b/bin/queue-retry @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php queue-retry $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php queue-retry "$@" \ No newline at end of file diff --git a/bin/realtime b/bin/realtime index e43dc269e0..2022808e2a 100644 --- a/bin/realtime +++ b/bin/realtime @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/realtime.php $@ \ No newline at end of file +exec php /usr/src/code/app/realtime.php "$@" \ No newline at end of file diff --git a/bin/schedule-executions b/bin/schedule-executions index f239cad206..b15fad0e69 100644 --- a/bin/schedule-executions +++ b/bin/schedule-executions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-executions $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-executions "$@" \ No newline at end of file diff --git a/bin/schedule-functions b/bin/schedule-functions index 10edbe8226..3183b24351 100644 --- a/bin/schedule-functions +++ b/bin/schedule-functions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-functions $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-functions "$@" \ No newline at end of file diff --git a/bin/schedule-messages b/bin/schedule-messages index fa7219f6ea..08f7c7b5f5 100644 --- a/bin/schedule-messages +++ b/bin/schedule-messages @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php schedule-messages $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php schedule-messages "$@" \ No newline at end of file diff --git a/bin/screenshot b/bin/screenshot index 4d8ceb998f..ee6f0932cc 100755 --- a/bin/screenshot +++ b/bin/screenshot @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php screenshot $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php screenshot "$@" \ No newline at end of file diff --git a/bin/sdks b/bin/sdks index ab73414829..f5ae6a186d 100644 --- a/bin/sdks +++ b/bin/sdks @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php sdks $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php sdks "$@" \ No newline at end of file diff --git a/bin/specs b/bin/specs index e77d1487d4..ffc0fc22e8 100644 --- a/bin/specs +++ b/bin/specs @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php specs $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php specs "$@" \ No newline at end of file diff --git a/bin/ssl b/bin/ssl index 83dcf6a026..99748bb27d 100755 --- a/bin/ssl +++ b/bin/ssl @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php ssl $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php ssl "$@" \ No newline at end of file diff --git a/bin/stats-resources b/bin/stats-resources index 3104bab896..622a3b2b05 100644 --- a/bin/stats-resources +++ b/bin/stats-resources @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php stats-resources $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php stats-resources "$@" \ No newline at end of file diff --git a/bin/test b/bin/test index a2153fc536..0c0ec83efe 100755 --- a/bin/test +++ b/bin/test @@ -1,3 +1,3 @@ #!/bin/sh -/usr/src/code/vendor/bin/phpunit --configuration /usr/src/code/phpunit.xml $@ \ No newline at end of file +exec /usr/src/code/vendor/bin/phpunit --configuration /usr/src/code/phpunit.xml "$@" \ No newline at end of file diff --git a/bin/upgrade b/bin/upgrade index ce32b9ca30..df5f60216b 100755 --- a/bin/upgrade +++ b/bin/upgrade @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php upgrade $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php upgrade "$@" \ No newline at end of file diff --git a/bin/vars b/bin/vars index 19e3f1ebf2..d7bb615117 100644 --- a/bin/vars +++ b/bin/vars @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/cli.php vars $@ \ No newline at end of file +exec php /usr/src/code/app/cli.php vars "$@" \ No newline at end of file diff --git a/bin/worker-audits b/bin/worker-audits index 3df65d65e8..b7eb47f417 100644 --- a/bin/worker-audits +++ b/bin/worker-audits @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php audits $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php audits "$@" \ No newline at end of file diff --git a/bin/worker-builds b/bin/worker-builds index 3400111cb5..a646625678 100644 --- a/bin/worker-builds +++ b/bin/worker-builds @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php builds $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php builds "$@" \ No newline at end of file diff --git a/bin/worker-certificates b/bin/worker-certificates index 901688c4c8..33be1a3c9b 100755 --- a/bin/worker-certificates +++ b/bin/worker-certificates @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php certificates $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php certificates "$@" \ No newline at end of file diff --git a/bin/worker-databases b/bin/worker-databases index 61e09aa9f1..32822ed068 100644 --- a/bin/worker-databases +++ b/bin/worker-databases @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php databases $@ +exec php /usr/src/code/app/worker.php databases "$@" diff --git a/bin/worker-deletes b/bin/worker-deletes index 7c9793e6cb..00c216f2e9 100644 --- a/bin/worker-deletes +++ b/bin/worker-deletes @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php deletes $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php deletes "$@" \ No newline at end of file diff --git a/bin/worker-functions b/bin/worker-functions index 4757b1b72a..c24cb08821 100644 --- a/bin/worker-functions +++ b/bin/worker-functions @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php functions $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php functions "$@" \ No newline at end of file diff --git a/bin/worker-mails b/bin/worker-mails index fee8a96da7..3b1415f45f 100644 --- a/bin/worker-mails +++ b/bin/worker-mails @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php mails $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php mails "$@" \ No newline at end of file diff --git a/bin/worker-messaging b/bin/worker-messaging index e6edf80f06..34e85ac485 100644 --- a/bin/worker-messaging +++ b/bin/worker-messaging @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php messaging $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php messaging "$@" \ No newline at end of file diff --git a/bin/worker-migrations b/bin/worker-migrations index 32d4aef468..3fa669edc6 100644 --- a/bin/worker-migrations +++ b/bin/worker-migrations @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php migrations $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php migrations "$@" \ No newline at end of file diff --git a/bin/worker-stats-resources b/bin/worker-stats-resources index 9c5d2bebff..44bfa6e15f 100644 --- a/bin/worker-stats-resources +++ b/bin/worker-stats-resources @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php stats-resources $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php stats-resources "$@" \ No newline at end of file diff --git a/bin/worker-stats-usage b/bin/worker-stats-usage index 2c267d805e..544ea71ee3 100644 --- a/bin/worker-stats-usage +++ b/bin/worker-stats-usage @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php stats-usage $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php stats-usage "$@" \ No newline at end of file diff --git a/bin/worker-webhooks b/bin/worker-webhooks index 93f8027a81..e3c9e9471e 100644 --- a/bin/worker-webhooks +++ b/bin/worker-webhooks @@ -1,3 +1,3 @@ #!/bin/sh -php /usr/src/code/app/worker.php webhooks $@ \ No newline at end of file +exec php /usr/src/code/app/worker.php webhooks "$@" \ No newline at end of file