[program:redis_mainframe]
command=redis-server --port {{ redis_port }}  --requirepass {{ redis_password }}
autostart=true
autorestart=true
user=root
stdout_logfile=/var/www/e-cosplay/var/log/redis_stdout.log
stderr_logfile=/var/www/e-cosplay/var/log/redis_stderr.log

[program:messenger_redis_mainframe]
command=php {{path}}/console messenger:consume async --time-limit=3600
autostart=true
autorestart=true
user=root
startsecs=0
startretries=10
stdout_logfile=/var/www/e-cosplay/var/log/messenger_stderr.log
stderr_logfile=/var/www/e-cosplay/var/log/messenger_stdout.log
