mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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.
This commit is contained in:
@@ -10,3 +10,4 @@
|
||||
[Unit]
|
||||
Description=SSH Access Available
|
||||
Documentation=man:systemd.special(7)
|
||||
StopWhenUnneeded=yes
|
||||
|
||||
Reference in New Issue
Block a user