mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-02 06:21:09 +00:00
15 lines
359 B
SYSTEMD
15 lines
359 B
SYSTEMD
|
[Unit]
|
||
|
Description=BookWyrm worker
|
||
|
After=network.target postgresql.service redis.service
|
||
|
|
||
|
[Service]
|
||
|
User=bookwyrm
|
||
|
Group=bookwyrm
|
||
|
WorkingDirectory=/opt/bookwyrm/
|
||
|
ExecStart=/opt/bookwyrm/venv/bin/celery -A celerywyrm worker -l info -Q high_priority,medium_priority,low_priority
|
||
|
StandardOutput=journal
|
||
|
StandardError=inherit
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|