From 1854e09e378fe7b3500a8e7d093f8c0df678c695 Mon Sep 17 00:00:00 2001 From: Shun Li Date: Thu, 12 Feb 2026 09:51:46 +0800 Subject: [PATCH] Add Before and Conflicts directives to service template Before shutdown.target for mitigation #3441 --- src/Misc/layoutbin/actions.runner.service.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Misc/layoutbin/actions.runner.service.template b/src/Misc/layoutbin/actions.runner.service.template index 5509aa4a7b7..6b6b8c66dd9 100644 --- a/src/Misc/layoutbin/actions.runner.service.template +++ b/src/Misc/layoutbin/actions.runner.service.template @@ -1,6 +1,8 @@ [Unit] Description={{Description}} After=network-online.target +Before=shutdown.target +Conflicts=shutdown.target [Service] ExecStart={{RunnerRoot}}/runsvc.sh