Files
BSN-Livesystem/deploy/bsn-worker.service
T

19 lines
397 B
Desktop File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Unit]
Description=BSN-Livesystem Queue Worker Service
After=network.target redis.service
[Service]
Type=simple
User=bsn
Group=bsn
WorkingDirectory=/opt/bsn-livesystem
ExecStart=/opt/bsn-livesystem/venv/bin/python -m src.queue.worker_entry
EnvironmentFile=/opt/bsn-livesystem/.env
Restart=always
RestartSec=3
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target