style(docker): standardize service startup log message format

Align log messages across all service startup scripts (horizon, nightwatch-agent,
scheduler-worker) in both development and production environments to use a
consistent "   INFO  " prefix format.
This commit is contained in:
Andras Bacsai 2026-03-27 19:05:36 +01:00
parent 638f1d37f1
commit c28fbab36a
6 changed files with 12 additions and 12 deletions

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^HORIZON_ENABLED=false' .env 2>/dev/null; then
echo "horizon: disabled, sleeping."
echo " INFO Horizon is disabled, sleeping."
exec sleep infinity
fi
echo "horizon: enabled, starting..."
echo " INFO Horizon is enabled, starting..."
exec php artisan horizon

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^NIGHTWATCH_ENABLED=true' .env 2>/dev/null; then
echo "nightwatch-agent: enabled, starting..."
echo " INFO Nightwatch is enabled, starting..."
exec php artisan nightwatch:agent
fi
echo "nightwatch-agent: disabled, sleeping."
echo " INFO Nightwatch is disabled, sleeping."
exec sleep infinity

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^SCHEDULER_ENABLED=false' .env 2>/dev/null; then
echo "scheduler-worker: disabled, sleeping."
echo " INFO Scheduler is disabled, sleeping."
exec sleep infinity
fi
echo "scheduler-worker: enabled, starting..."
echo " INFO Scheduler is enabled, starting..."
exec php artisan schedule:work

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^HORIZON_ENABLED=false' .env 2>/dev/null; then
echo "horizon: disabled, sleeping."
echo " INFO Horizon is disabled, sleeping."
exec sleep infinity
fi
echo "horizon: enabled, starting..."
echo " INFO Horizon is enabled, starting..."
exec php artisan horizon

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^NIGHTWATCH_ENABLED=true' .env 2>/dev/null; then
echo "nightwatch-agent: enabled, starting..."
echo " INFO Nightwatch is enabled, starting..."
exec php artisan nightwatch:agent
fi
echo "nightwatch-agent: disabled, sleeping."
echo " INFO Nightwatch is disabled, sleeping."
exec sleep infinity

View file

@ -3,9 +3,9 @@
cd /var/www/html
if grep -qE '^SCHEDULER_ENABLED=false' .env 2>/dev/null; then
echo "scheduler-worker: disabled, sleeping."
echo " INFO Scheduler is disabled, sleeping."
exec sleep infinity
fi
echo "scheduler-worker: enabled, starting..."
echo " INFO Scheduler is enabled, starting..."
exec php artisan schedule:work