mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 09:41:52 +01:00
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
[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:connector_deletion]
|
|
command=python danswer/background/connector_deletion.py
|
|
stdout_logfile=/var/log/connector_deletion.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
|
|
|
|
# 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/connector_deletion.log /var/log/file_deletion.log /var/log/slack_bot_listener.log
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
autorestart=true
|