From 161f4d3cf8852c7abf46031de68932b52b026368 Mon Sep 17 00:00:00 2001 From: Erik von Reis <evonreis@caltech.edu> Date: Thu, 8 Oct 2020 13:42:04 -0700 Subject: [PATCH] Change awgtpman systemd service dependency on the kernel module service from Wants to Requisite This makes awgtpman fail if the module service is not loaded, but does systemd will not attempt to start the module. Previously if the module failed, awgtpman would eventually restart, triggering a restart of the whole model. This would lead to cluttered logs full of errors from each restart. This chang fixes that issue. --- support/systemd/rts-awgtpman@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/systemd/rts-awgtpman@.service b/support/systemd/rts-awgtpman@.service index 940c81752..0e074940a 100644 --- a/support/systemd/rts-awgtpman@.service +++ b/support/systemd/rts-awgtpman@.service @@ -1,7 +1,7 @@ [Unit] Description=Advanced LIGO RTS awgtpman: %i After=rts-module@%i.service -Wants=rts-module@%i.service +Requisite=rts-module@%i.service PartOf=rts@%i.target [Service] -- GitLab