Skip to content
Snippets Groups Projects
Commit f5ec755c authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Add unit files to manage services with systemd

parent 2be454dc
No related branches found
No related tags found
1 merge request!1045Add unit files to manage services with systemd
[Unit]
Description=XFEL offline calibration Slurm job monitor
[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.job_monitor --log-level DEBUG
Restart=on-failure
[Install]
WantedBy=default.target
[Unit]
Description=XFEL offline calibration status web page
[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
Restart=on-failure
[Install]
WantedBy=default.target
[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
Restart=on-failure
[Install]
WantedBy=default.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment