1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tracim_ynh.git synced 2024-10-01 13:34:52 +02:00
tracim_ynh/conf/supervisord.conf

42 lines
1.6 KiB
Text
Raw Normal View History

2022-04-08 03:47:14 +02:00
[supervisord]
; You need to replace <PATH> with correct absolute path
; email notifier (if async jobs processing is enabled)
[program:tracim_mail_notifier]
directory=__FINALPATH__/backend/
command=__FINALPATH__/backend/env/bin/python __FINALPATH__/backend/daemons/mail_notifier.py
stdout_logfile =/tmp/mail_notifier.log
redirect_stderr=true
autostart=true
autorestart=true
environment=TRACIM_CONF_PATH=__FINALPATH__/backend/development.ini
; email fetcher (if email reply is enabled)
[program:tracim_mail_fetcher]
directory=__FINALPATH__/backend/
command=__FINALPATH__/backend/env/bin/python __FINALPATH__/backend/daemons/mail_fetcher.py
stdout_logfile =/tmp/mail_fetcher.log
redirect_stderr=true
autostart=true
autorestart=true
environment=TRACIM_CONF_PATH=__FINALPATH__/backend/development.ini
; user connection status monitor (online / offline0)
[program:tracim_user_connection_state_monitor]
directory=__FINALPATH__/backend/
command=__FINALPATH__/backend/env/bin/python3 __FINALPATH__/backend/daemons/user_connection_state_monitor.py
stdout_logfile=/tmp/user_connection_state_monitor.log
redirect_stderr=true
autostart=true
autorestart=false
environment=TRACIM_CONF_PATH=__FINALPATH__/backend/development.ini
; RQ worker (if async jobs processing is enabled)
[program:rq_database_worker]
directory=__FINALPATH__/backend/
command=__FINALPATH__/backend/env/bin/rq worker -q -w tracim_backend.lib.rq.worker.DatabaseWorker event elasticsearch_indexer
stdout_logfile =/tmp/rq_database_worker.log
redirect_stderr=true
autostart=true
autorestart=true
environment=TRACIM_CONF_PATH=__FINALPATH__/backend/development.ini