Skip to content

Instantly share code, notes, and snippets.

@ahmed-bhs
Created October 4, 2018 01:04
Show Gist options
  • Save ahmed-bhs/e9600789b003f75d28e04e9fa67c8375 to your computer and use it in GitHub Desktop.
Save ahmed-bhs/e9600789b003f75d28e04e9fa67c8375 to your computer and use it in GitHub Desktop.
[unix_http_server]
file=/tmp/supervisor.sock
[supervisord]
logfile=/tmp/supervisord.log
pidfile=/var/run/supervisord.pid
nodaemon=true
[program:php-fpm]
command = /usr/local/sbin/php-fpm
autostart=true
autorestart=true
[program:amqp]
command=php /symfony/bin/console messenger:consume-messages amqp
startsecs = 0
stdout_logfile=/tmp/supervisord-amqp.log
stdout_logfile_maxbytes=10MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment