[supervisord]
nodaemon=true

[program:apache2]
command=/usr/sbin/apache2ctl -D FOREGROUND
autostart=true
autorestart=true
stderr_logfile=/var/log/apache2/error.log
stdout_logfile=/var/log/apache2/access.log

[program:rotation-worker]
command=/usr/bin/php /var/www/html/scripts/auto-rotation.php
autostart=true
autorestart=true
stderr_logfile=/var/www/html/logs/rotation-error.log
stdout_logfile=/var/www/html/logs/rotation-output.log
