2022-04-08 03:47:14 +02:00
|
|
|
[supervisord]
|
2022-05-07 15:21:19 +02:00
|
|
|
nodaemon=true
|
|
|
|
user=root
|
2022-04-08 03:47:14 +02:00
|
|
|
|
|
|
|
; email notifier (if async jobs processing is enabled)
|
|
|
|
[program:tracim_mail_notifier]
|
2023-04-27 22:55:37 +02:00
|
|
|
directory=__INSTALL_DIR__/backend/
|
|
|
|
command=__INSTALL_DIR__/backend/env/bin/python __INSTALL_DIR__/backend/daemons/mail_notifier.py
|
2022-04-08 03:47:14 +02:00
|
|
|
stdout_logfile =/tmp/mail_notifier.log
|
|
|
|
redirect_stderr=true
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2023-04-27 22:55:37 +02:00
|
|
|
environment=TRACIM_CONF_PATH=__INSTALL_DIR__/backend/development.ini
|
2022-04-08 03:47:14 +02:00
|
|
|
|
|
|
|
; email fetcher (if email reply is enabled)
|
|
|
|
[program:tracim_mail_fetcher]
|
2023-04-27 22:55:37 +02:00
|
|
|
directory=__INSTALL_DIR__/backend/
|
|
|
|
command=__INSTALL_DIR__/backend/env/bin/python __INSTALL_DIR__/backend/daemons/mail_fetcher.py
|
2022-04-08 03:47:14 +02:00
|
|
|
stdout_logfile =/tmp/mail_fetcher.log
|
|
|
|
redirect_stderr=true
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2023-04-27 22:55:37 +02:00
|
|
|
environment=TRACIM_CONF_PATH=__INSTALL_DIR__/backend/development.ini
|
2022-04-08 03:47:14 +02:00
|
|
|
|
|
|
|
; user connection status monitor (online / offline0)
|
|
|
|
[program:tracim_user_connection_state_monitor]
|
2023-04-27 22:55:37 +02:00
|
|
|
directory=__INSTALL_DIR__/backend/
|
|
|
|
command=__INSTALL_DIR__/backend/env/bin/python3 __INSTALL_DIR__/backend/daemons/user_connection_state_monitor.py
|
2022-04-08 03:47:14 +02:00
|
|
|
stdout_logfile=/tmp/user_connection_state_monitor.log
|
|
|
|
redirect_stderr=true
|
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
2023-04-27 22:55:37 +02:00
|
|
|
environment=TRACIM_CONF_PATH=__INSTALL_DIR__/backend/development.ini
|
2022-04-08 03:47:14 +02:00
|
|
|
|
|
|
|
; RQ worker (if async jobs processing is enabled)
|
|
|
|
[program:rq_database_worker]
|
2023-04-27 22:55:37 +02:00
|
|
|
directory=__INSTALL_DIR__/backend/
|
|
|
|
command=__INSTALL_DIR__/backend/env/bin/rq worker -q -w tracim_backend.lib.rq.worker.DatabaseWorker event elasticsearch_indexer
|
2022-04-08 03:47:14 +02:00
|
|
|
stdout_logfile =/tmp/rq_database_worker.log
|
|
|
|
redirect_stderr=true
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2023-04-27 22:55:37 +02:00
|
|
|
environment=TRACIM_CONF_PATH=__INSTALL_DIR__/backend/development.ini
|