supervisorctl restart
production_horizon: ERROR (not running)
production_horizon: ERROR (spawn error)
production_horizon: ERROR (spawn error)
supervisorctl status
accept_horizon RUNNING pid 4601, uptime 0:01:10
production_horizon FATAL Exited too quickly (process log may have details)
production_horizon FATAL Exited too quickly (process log may have details)
/var/log/supervisor/supervisord.log
2022-09-22 12:31:18,960 INFO exited: production_horizon (exit status 127; not expected)
2022-09-22 12:31:19,961 INFO gave up: production_horizon entered FATAL state, too many start retries too quickly
2022-09-22 12:31:19,961 INFO gave up: production_horizon entered FATAL state, too many start retries too quickly
Add "startsecs=0" to each program in "/etc/supervisord.conf"
[program:production_horizon]
process_name=%(program_name)s
directory=/home/davidvandertuijn/public_html
command=/usr/local/php73/bin/php73 artisan horizon
autostart=true
autorestart=true
user=davidvandertuijn
redirect_stderr=true
stdout_logfile=/home/davidvandertuijn/public_html/storage/logs/supervisord/horizon.log
startsecs=0
stopsignal=TERM
stopwaitsecs=15
Lets go!
supervisorctl reread
supervisorctl update
supervisorctl restart all
Categorieën
Laravel