From 78c6e22f79dda7912b5b980e8546791ad38c2479 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Fri, 16 Aug 2024 11:36:44 +0100 Subject: [PATCH] Set SyslogIdentifier for systemd services --- webservice/systemd/cal-job-monitor.service | 1 + webservice/systemd/cal-overview-server.service | 1 + webservice/systemd/cal-webservice.service | 1 + 3 files changed, 3 insertions(+) diff --git a/webservice/systemd/cal-job-monitor.service b/webservice/systemd/cal-job-monitor.service index 9a465c189..72fad67d6 100644 --- a/webservice/systemd/cal-job-monitor.service +++ b/webservice/systemd/cal-job-monitor.service @@ -9,6 +9,7 @@ ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current # Pause to make errors in startup more obvious ExecStartPost=/usr/bin/sleep 1 Restart=on-failure +SyslogIdentifier=job_monitor [Install] WantedBy=cal-services.target diff --git a/webservice/systemd/cal-overview-server.service b/webservice/systemd/cal-overview-server.service index 989f5588c..6c186ef6c 100644 --- a/webservice/systemd/cal-overview-server.service +++ b/webservice/systemd/cal-overview-server.service @@ -9,6 +9,7 @@ ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current # Pause to make errors in startup more obvious ExecStartPost=/usr/bin/sleep 1 Restart=on-failure +SyslogIdentifier=serve_overview [Install] WantedBy=cal-services.target diff --git a/webservice/systemd/cal-webservice.service b/webservice/systemd/cal-webservice.service index f2cd6b0b4..1456ca56a 100644 --- a/webservice/systemd/cal-webservice.service +++ b/webservice/systemd/cal-webservice.service @@ -9,6 +9,7 @@ ExecStart=%h/deployments/development/git.xfel.eu/detectors/pycalibration/current # Pause to make errors in startup more obvious ExecStartPost=/usr/bin/sleep 1 Restart=on-failure +SyslogIdentifier=webservice [Install] WantedBy=cal-services.target -- GitLab