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

Service type is now notify

parent 5a8e54a4
No related branches found
No related tags found
1 merge request!1063Use systemd notify protocol when services have started
...@@ -3,7 +3,7 @@ Description=XFEL offline calibration Slurm job monitor ...@@ -3,7 +3,7 @@ Description=XFEL offline calibration Slurm job monitor
PartOf=cal-services.target PartOf=cal-services.target
[Service] [Service]
Type=exec Type=notify
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/ 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 ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.job_monitor --log-level DEBUG
Restart=on-failure Restart=on-failure
......
...@@ -3,7 +3,7 @@ Description=XFEL offline calibration status web page ...@@ -3,7 +3,7 @@ Description=XFEL offline calibration status web page
PartOf=cal-services.target PartOf=cal-services.target
[Service] [Service]
Type=exec Type=notify
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/ 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 ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.serve_overview
Restart=on-failure Restart=on-failure
......
...@@ -3,7 +3,7 @@ Description=XFEL offline calibration ZMQ service ...@@ -3,7 +3,7 @@ Description=XFEL offline calibration ZMQ service
PartOf=cal-services.target PartOf=cal-services.target
[Service] [Service]
Type=exec Type=notify
WorkingDirectory=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/ 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 ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current/.venv/bin/python -m webservice.webservice --mode prod --log-level DEBUG
Restart=on-failure Restart=on-failure
......
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