bookwyrm/contrib/systemd/bookwyrm-scheduler.service

14 lines
360 B
Desktop File

[Unit]
Description=BookWyrm scheduler
After=network.target postgresql.service
[Service]
User=bookwyrm
Group=bookwyrm
WorkingDirectory=/opt/bookwyrm/
ExecStart=/opt/bookwyrm/venv/bin/celery -A celerywyrm beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
StandardOutput=journal
StandardError=inherit
[Install]
WantedBy=multi-user.target