summarylogtreecommitdiffstats
path: root/pretix-worker.service
blob: a5b4f62cae97d8eb5b42673dbe512f4fa73b2cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=pretix background worker
After=network.target

[Service]
User=pretix
Group=pretix
Environment="VIRTUAL_ENV=/var/pretix/venv"
Environment="PATH=/var/pretix/venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/var/pretix/venv/bin/celery -A pretix.celery_app worker -l info
WorkingDirectory=/var/pretix
Restart=on-failure

[Install]
WantedBy=multi-user.target