diff --git a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/horizon/run b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/horizon/run index 012efc348..87471097e 100644 --- a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/horizon/run +++ b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/horizon/run @@ -1,2 +1,5 @@ #!/command/execlineb -P -su - webuser -c "php /var/www/html/artisan horizon" +foreground { + s6-sleep 5 + su - webuser -c "php /var/www/html/artisan start:horizon" +} diff --git a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/scheduler-worker/run b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/scheduler-worker/run index 8021572af..87ca0cae1 100644 --- a/docker/prod-ssu/etc/s6-overlay/s6-rc.d/scheduler-worker/run +++ b/docker/prod-ssu/etc/s6-overlay/s6-rc.d/scheduler-worker/run @@ -1,2 +1,5 @@ #!/command/execlineb -P -su - webuser -c "php /var/www/html/artisan schedule:work" +foreground { + s6-sleep 5 + su - webuser -c "php /var/www/html/artisan start:scheduler" +}