From ae87cfcdeac03257148c40e6700f9be63378b77f Mon Sep 17 00:00:00 2001 From: Noah Meyerhans Date: Wed, 28 Feb 2024 17:04:53 -0800 Subject: [PATCH] Set KillMode on the systemd services The systemd default of of `control-group` for this value is more aggressive than we want. --- systemd/system/policy-routes@.service | 1 + systemd/system/refresh-policy-routes@.service | 1 + 2 files changed, 2 insertions(+) diff --git a/systemd/system/policy-routes@.service b/systemd/system/policy-routes@.service index 7eb3262..3d1ed87 100644 --- a/systemd/system/policy-routes@.service +++ b/systemd/system/policy-routes@.service @@ -13,3 +13,4 @@ User=root ExecStart=/usr/bin/setup-policy-routes %i start Restart=on-failure RestartSec=1 +KillMode=process diff --git a/systemd/system/refresh-policy-routes@.service b/systemd/system/refresh-policy-routes@.service index 62a71c5..0c0c050 100644 --- a/systemd/system/refresh-policy-routes@.service +++ b/systemd/system/refresh-policy-routes@.service @@ -9,3 +9,4 @@ NoNewPrivileges=yes User=root ExecStart=/usr/bin/setup-policy-routes %i refresh SuccessExitStatus=SIGTERM +KillMode=process