|
|
@ -6,6 +6,7 @@ After=network.target |
|
|
|
Type=simple |
|
|
|
Type=simple |
|
|
|
WorkingDirectory={{ papermerge_root_dir }}/app |
|
|
|
WorkingDirectory={{ papermerge_root_dir }}/app |
|
|
|
Environment=DJANGO_SETTINGS_MODULE=config.settings.production |
|
|
|
Environment=DJANGO_SETTINGS_MODULE=config.settings.production |
|
|
|
|
|
|
|
Environment=OMP_THREAD_LIMIT={{ ansible_processor_vcpus }} |
|
|
|
ExecStart={{ papermerge_root_dir }}/venv/bin/python manage.py worker |
|
|
|
ExecStart={{ papermerge_root_dir }}/venv/bin/python manage.py worker |
|
|
|
User={{ papermerge_user }} |
|
|
|
User={{ papermerge_user }} |
|
|
|
Group={{ papermerge_user }} |
|
|
|
Group={{ papermerge_user }} |
|
|
|