diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-20 01:18:26 -0600 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-12-21 15:49:56 +0000 |
commit | a73b0fa64e40288cc0166ffd4cdd67a34f1901a5 (patch) | |
tree | 9b83379641efae3ec6ef93fc98827fd449e4ea9e /data/live-build-config/includes.chroot/lib/systemd/system | |
parent | 2ce91d476b672c17cf52795b5908c7b82e68a671 (diff) | |
download | vyos-build-a73b0fa64e40288cc0166ffd4cdd67a34f1901a5.tar.gz vyos-build-a73b0fa64e40288cc0166ffd4cdd67a34f1901a5.zip |
ssh: T5841: Remove ssh-session-cleanup.service
With libpam-systemd >= 230-2, ssh-session-cleanup.service is no longer
necessary because when `UsePAM yes` in `/etc/ssh/sshd_config` (which is
the default), SSH sessions are cleaned up automatically when ssh-server
is shutdown or the system is rebooted.
(cherry picked from commit 10b5c5bc93f5d9bb99c5523f41a97d49a833a453)
Diffstat (limited to 'data/live-build-config/includes.chroot/lib/systemd/system')
-rw-r--r-- | data/live-build-config/includes.chroot/lib/systemd/system/ssh-session-cleanup.service | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/data/live-build-config/includes.chroot/lib/systemd/system/ssh-session-cleanup.service b/data/live-build-config/includes.chroot/lib/systemd/system/ssh-session-cleanup.service deleted file mode 100644 index b8672722..00000000 --- a/data/live-build-config/includes.chroot/lib/systemd/system/ssh-session-cleanup.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=OpenBSD Secure Shell session cleanup -Wants=network.target -After=network.target - -[Service] -ExecStart=/bin/true -ExecStop=/usr/lib/openssh/ssh-session-cleanup -RemainAfterExit=yes -Type=oneshot - -[Install] -WantedBy=multi-user.target |