[supervisord]
nodaemon=true
logfile=/var/www/html/bot/logs/supervisor.log
loglevel=info
pidfile=/var/run/supervisor/supervisord.pid
childlogdir=/var/www/html/bot/logs
user=root

[program:apache2]
command=/bin/bash -c "source /etc/apache2/envvars && exec apache2 -D FOREGROUND"
autostart=true
autorestart=true
stdout_logfile=/var/www/html/bot/logs/apache2.out.log
stderr_logfile=/var/www/html/bot/logs/apache2.err.log

[include]
files=/etc/supervisor/conf.d/*.conf
