[supervisord]
nodaemon=true

[program:sshd]
command=/usr/sbin/sshd -D

[program:apache2]
command=/bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"

[program:redis]
command=/usr/bin/redis-server /etc/redis/redis.conf
autostart=true
#autorestart=true
user=root
stdout_logfile=/var/log/redis/stdout.log
stderr_logfile=/var/log/redis/stderr.log

[program:rabbitmq]
command=/usr/sbin/rabbitmq-server
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autostart=true
autorestart=true

[supervisorctl]
serverurl = http://localhost:9001
username = devel
password = d3v3l

[inet_http_server]
port = *:9001
username = devel
password = d3v3l

#[program:loca_email_sender_staging]
#command=php artisan loca:queue_email_sender --env=eaeStaging
#directory=/var/www/html/staging
#redirect_stderr=true
#stdout_logfile=/var/log/supervisord/loca_queue_email_sender.log
#user=eae
#environment=HOME="/home/eae",USER="devel"
#priority=10
#
#[program:loca_media_staging]
#command=php artisan loca:queue_media --env=eaeStaging
#directory=/var/www/html/staging
#redirect_stderr=true
#stdout_logfile=/var/log/supervisord/loca_queue_media.log
#user=eae
#environment=HOME="/home/eae",USER="eae"
#priority=10
#
#[program:loca_messages_staging]
#command=php artisan loca:queue_messages --env=eaeStaging
#directory=/var/www/html/staging
#redirect_stderr=true
#stdout_logfile=/var/log/supervisord/loca_queue_messages.log
#user=eae
#environment=HOME="/home/eae",USER="eae"
#priority=10
#
#
#[program:loca_activity_staging]
#command=php artisan loca:queue_activity --env=eaeStaging
#directory=/var/www/html/staging
#redirect_stderr=true
#stdout_logfile=/var/log/supervisord/loca_queue_activity.log
#user=eae
#environment=HOME="/home/eae",USER="eae"
#priority=10
#
#
#[program:loca_notification_staging]
#command=php artisan loca:queue_notification --env=eaeStaging
#directory=/var/www/html/staging
#redirect_stderr=true
#stdout_logfile=/var/log/supervisord/loca_queue_notification.log
#user=eae
#environment=HOME="/home/eae",USER="eae"
#priority=10
#
#
[program:loca_email_sender_dev]
command=php artisan loca:queue_email_sender
directory=/var/www/html/alex
redirect_stderr=true
stdout_logfile=/var/log/supervisor/loca_queue_email_sender_dev.log
user=eae
environment=HOME="/home/eae",USER="eae"
priority=10

[program:loca_media_dev]
command=php artisan loca:queue_media
directory=/var/www/html/alex
redirect_stderr=true
stdout_logfile=/var/log/supervisor/loca_queue_media_dev.log
user=eae
environment=HOME="/home/eae",USER="eae"
priority=10

[program:loca_messages_dev]
command=php artisan loca:queue_messages
directory=/var/www/html/alex
redirect_stderr=true
stdout_logfile=/var/log/supervisor/loca_queue_messages_dev.log
user=eae
environment=HOME="/home/eae",USER="eae"
priority=10

[program:loca_activity_dev]
command=php artisan loca:queue_activity
directory=/var/www/html/alex
redirect_stderr=true
stdout_logfile=/var/log/supervisor/loca_queue_activity_dev.log
user=eae
environment=HOME="/home/eae",USER="eae"
priority=10

[program:loca_notification_dev]
command=php artisan loca:queue_notification
directory=/var/www/html/alex
redirect_stderr=true
stdout_logfile=/var/log/supervisor/loca_queue_notification_dev.log
user=eae
environment=HOME="/home/eae",USER="eae"
priority=10
