- Supervisor File
/etc/supervisor/conf.d/prod-scraper.conf
[program:prod-scraper]
directory=/home/nwc/app/production/news-scraper/src/
command=/home/nwc/app/production/venv/bin/uwsgi --ini /home/nwc/app/production/news-scraper/src/crawleradmin.ini
autostart=true
autorestart=true
stderr_logfile=/var/log/prod-scraper.err.log
stdout_logfile=/var/log/prod-scraper.out.log