# Configuración actualizada de Supervisor para Discord Bot
# Usar: sudo cp config/discordbot_updated.conf /etc/supervisor/conf.d/discordbot.conf

[program:discordbot]
command=/usr/bin/php /var/www/html/bot/discord/bot/discord_bot.php
environment=APP_ENVIRONMENT="reod"
directory=/var/www/html/bot/
autostart=true
autorestart=true
stderr_logfile=/var/www/html/bot/logs/discordbot.err.log
stdout_logfile=/var/www/html/bot/logs/discordbot.out.log
user=www-data
redirect_stderr=false
