From 8c7dfa0ff4dc4a8c97b3b764ca642000eb63f35d Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sat, 19 Jul 2025 11:11:31 +0200 Subject: [PATCH] units/ssh-access.target: enable StopWhenUnneeded= This combines nicely with the X_SYSTEMD_UNIT_INACTIVE= notification we send out, to ensure when all sshd units go down the actual status is always reflected on the target. --- units/ssh-access.target | 1 + 1 file changed, 1 insertion(+) diff --git a/units/ssh-access.target b/units/ssh-access.target index f9b6a4c1490..31b7fbb45dd 100644 --- a/units/ssh-access.target +++ b/units/ssh-access.target @@ -10,3 +10,4 @@ [Unit] Description=SSH Access Available Documentation=man:systemd.special(7) +StopWhenUnneeded=yes -- 2.47.3