[supervisord] nodaemon=true logfile=/dev/stdout logfile_maxbytes=0 [program:indexing] command=python danswer/background/update.py stdout_logfile=/var/log/update.log stdout_logfile_maxbytes=52428800 redirect_stderr=true autorestart=true [program:celery] command=celery -A danswer.background.celery worker --loglevel=INFO stdout_logfile=/var/log/celery.log stdout_logfile_maxbytes=52428800 redirect_stderr=true autorestart=true [program:file_deletion] command=python danswer/background/file_deletion.py stdout_logfile=/var/log/file_deletion.log stdout_logfile_maxbytes=52428800 redirect_stderr=true autorestart=true [program:document_set_sync] command=python danswer/background/document_set_sync_script.py stdout_logfile=/var/log/document_set_sync.log stdout_logfile_maxbytes=52428800 redirect_stderr=true autorestart=true # Listens for slack messages and responds with answers # for all channels that the DanswerBot has been added to. # If not setup, this will just fail 5 times and then stop. # More details on setup here: https://docs.danswer.dev/slack_bot_setup [program:slack_bot_listener] command=python danswer/bots/slack/listener.py stdout_logfile=/var/log/slack_bot_listener.log stdout_logfile_maxbytes=52428800 redirect_stderr=true autorestart=true startretries=5 startsecs=60 # pushes all logs from the above programs to stdout [program:log-redirect-handler] command=tail -qF /var/log/update.log /var/log/celery.log /var/log/file_deletion.log /var/log/slack_bot_listener.log /var/log/document_set_sync.log stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 redirect_stderr=true autorestart=true