Skip to content
Snippets Groups Projects
cal-webservice.service 484 B
Newer Older
[Unit]
Description=XFEL offline calibration ZMQ service

[Service]
Type=exec
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/
ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.webservice --mode prod --log-level DEBUG
ExecStartPost=/usr/bin/sleep 1  # Pause to make errors in startup more obvious
Restart=on-failure

[Install]
WantedBy=cal-services.target