[supervisord] user=root nodaemon=true logfile=/var/www/logs/supervisord.log ; 設定 log 儲存位置 pidfile=/var/www/logs/supervisord.pid ; 設定 pid 儲存位置 [program:queue-worker] directory=/var/www/html command=php artisan queue:work --daemon --timeout=3600 --tries=1 --queue=default autostart=true autorestart=true stdout_logfile=/var/www/logs/queue.log stderr_logfile=/var/www/logs/queue_error.log stopsignal=INT [program:scheduler] directory=/var/www/html command=/bin/sh -c "while true; do php artisan schedule:run; sleep 60; done" autostart=true autorestart=true stdout_logfile=/var/www/logs/schedule.log stderr_logfile=/var/www/logs/schedule_error.log [program:git-worker] command=/bin/sh /entrypoint.git.sh autostart=true autorestart=true stdout_logfile=/var/www/logs/git-worker.log stderr_logfile=/var/www/logs/git-worker_error.log startsecs=0 [program:cron] command=/usr/sbin/cron -f autostart=true autorestart=true