From 852989ad7fbe25b34f2e48ac73f3419d91d9c602 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Mon, 16 Sep 2024 15:30:11 +0100 Subject: [PATCH] Service type is now notify --- webservice/systemd/cal-job-monitor.service | 2 +- webservice/systemd/cal-overview-server.service | 2 +- webservice/systemd/cal-webservice.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webservice/systemd/cal-job-monitor.service b/webservice/systemd/cal-job-monitor.service index 208db7839..7c330eb19 100644 --- a/webservice/systemd/cal-job-monitor.service +++ b/webservice/systemd/cal-job-monitor.service @@ -3,7 +3,7 @@ Description=XFEL offline calibration Slurm job monitor PartOf=cal-services.target [Service] -Type=exec +Type=notify 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 diff --git a/webservice/systemd/cal-overview-server.service b/webservice/systemd/cal-overview-server.service index bc9dce50f..685cf71e0 100644 --- a/webservice/systemd/cal-overview-server.service +++ b/webservice/systemd/cal-overview-server.service @@ -3,7 +3,7 @@ Description=XFEL offline calibration status web page PartOf=cal-services.target [Service] -Type=exec +Type=notify 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 diff --git a/webservice/systemd/cal-webservice.service b/webservice/systemd/cal-webservice.service index ffe8b3617..64e8fed31 100644 --- a/webservice/systemd/cal-webservice.service +++ b/webservice/systemd/cal-webservice.service @@ -3,7 +3,7 @@ Description=XFEL offline calibration ZMQ service PartOf=cal-services.target [Service] -Type=exec +Type=notify 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 -- GitLab