Newer
Older
[Unit]
Description=XFEL offline calibration ZMQ service
PartOf=cal-services.target
[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]