Skip to content

Instantly share code, notes, and snippets.

@juanwilde
Created December 18, 2021 21:21
Show Gist options
  • Save juanwilde/8993d689dbd31d5c3faa26c65122d6ec to your computer and use it in GitHub Desktop.
Save juanwilde/8993d689dbd31d5c3faa26c65122d6ec to your computer and use it in GitHub Desktop.
[supervisord]
user=root
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
loglevel = INFO
[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700
username=docker
password=docker
[supervisorctl]
serverurl=unix:///var/run/supervisord.sock
username=docker
password=docker
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[program:messenger-consume]
command=php /appdata/www/bin/console messenger:consume async --time-limit=3600
user=appuser
numprocs=2
startsecs=0
autostart=true
autorestart=true
process_name=%(program_name)s_%(process_num)02d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment