diff --git a/webservice/systemd/cal-job-monitor.service b/webservice/systemd/cal-job-monitor.service index 208db78397cc133b3a50de79dc63d8c42cc699e5..7c330eb19b8a5d666b74b4cd80a5ec84270fa403 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 bc9dce50f082563ff9fad1d64db0dc52210ad4ba..685cf71e09a979a0867a9be9ee14bfa71bb4a417 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 ffe8b36174ad08b16fc578cc5496778aa0872bc4..64e8fed31ce7cd64986dcedfa04c1079cb580057 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