mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-10 06:04:15 +00:00
a6f35119cd
* Replace django-background-tasks with huey * Add command for migrating tasks * Add custom admin view * fix dockerfile * fix tests * fix tests in CI * fix task tests * implement retries * improve config * workaround to avoid running singlefile tasks in parallel * properly kill single-file sub-processes * use period task for HTML snapshots * clear task lock when starting task consumer * remove obsolete cleanup task command
21 lines
444 B
Text
21 lines
444 B
Text
[supervisord]
|
|
user=root
|
|
loglevel=info
|
|
|
|
[program:jobs]
|
|
user=www-data
|
|
command=python manage.py run_huey -f
|
|
stdout_logfile=background_tasks.log
|
|
stdout_logfile_maxbytes=10MB
|
|
stdout_logfile_backups=5
|
|
redirect_stderr=true
|
|
|
|
[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
|