2021-09-04 20:31:04 +00:00
|
|
|
[supervisord]
|
|
|
|
user=root
|
|
|
|
loglevel=info
|
|
|
|
|
|
|
|
[program:jobs]
|
|
|
|
user=www-data
|
2024-04-14 18:31:53 +00:00
|
|
|
# setup a temp home folder for the job, required by chromium
|
|
|
|
environment=HOME=/tmp/home
|
2024-04-07 09:11:14 +00:00
|
|
|
command=python manage.py run_huey -f
|
2022-09-11 05:50:08 +00:00
|
|
|
stdout_logfile=background_tasks.log
|
|
|
|
stdout_logfile_maxbytes=10MB
|
|
|
|
stdout_logfile_backups=5
|
2021-09-04 20:31:04 +00:00
|
|
|
redirect_stderr=true
|
2024-04-07 09:11:14 +00:00
|
|
|
|
|
|
|
[unix_http_server]
|
|
|
|
file=/var/run/supervisor.sock
|
|
|
|
chmod=0700
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
|
|
|
serverurl=unix:///var/run/supervisor.sock
|