Skip to content
Snippets Groups Projects
Select Git revision
  • 5c6e5c057a96045f6e01d321b4564f5ba975b20f
  • master default protected
  • th/caddy-wip
  • th/caddy
  • th/lego
  • th/acmebot
  • pyzabbix
  • th/keycloak
8 results

alumnigraph-celery.service.j2

Blame
  • Hinrikus Wolf's avatar
    Hinrikus Wolf authored and Robin Sonnabend committed
    it now uses celery and redis
    5c6e5c05
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    alumnigraph-celery.service.j2 367 B
    [Unit]
    Description={{ app_name }}-Celery
    After=network.target
    
    [Service]
    User={{ app_user }}
    Group={{ app_group }}
    WorkingDirectory={{ app_path }}
    Environment=VIRTUAL_ENV="{{ app_path }}"
    ExecStart={{ app_venv }}/bin/celery -A app.celery worker --loglevel=DEBUG --concurrency={{ alumni_graph_celery_concurrency }}
    Restart=always
    
    [Install]
    WantedBy=multi-user.target