[Unit] Description=XFEL offline calibration status web page 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.serve_overview ExecStartPost=/usr/bin/sleep 1 # Pause to make errors in startup more obvious Restart=on-failure [Install] WantedBy=cal-services.target