summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/18-enable-disable_services.chroot
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-20 01:18:26 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-12-20 01:33:34 -0600
commit10b5c5bc93f5d9bb99c5523f41a97d49a833a453 (patch)
treec51feb98f065efb2440a64e0d9610106a3081a1f /data/live-build-config/hooks/live/18-enable-disable_services.chroot
parent25e0cdefbe0f7f1d5ae1d8a1cfd5ed31d3d596fa (diff)
downloadvyos-build-10b5c5bc93f5d9bb99c5523f41a97d49a833a453.tar.gz
vyos-build-10b5c5bc93f5d9bb99c5523f41a97d49a833a453.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.
Diffstat (limited to 'data/live-build-config/hooks/live/18-enable-disable_services.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index 4dc880ca..08404a62 100755
--- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
@@ -76,7 +76,6 @@ systemctl disable dpkg-db-backup.service
systemctl disable zabbix-agent2.service
echo I: Enabling services
-systemctl enable ssh-session-cleanup.service
systemctl enable vyos-hostsd.service
systemctl enable acpid.service
systemctl enable vyos-router.service