Multistage, single init.sh

This commit is contained in:
Benjamin Brummer
2025-01-13 16:31:39 +00:00
parent f2c5a1f842
commit cb4120fc54
4 changed files with 37 additions and 75 deletions

View File

@@ -39,7 +39,7 @@ stderr_logfile=/var/log/php-worker.err.log
stopwaitsecs=3600
[program:scheduler]
command=/bin/sh -c "while [ true ]; do (php /var/www/html/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
command=php /var/www/html/artisan schedule:work --verbose --no-interaction
autostart=true
autorestart=true
user=www-data