From b66f1de1c94fcf912b3a1bc0cd73c3b73cdae8a1 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 22 Jul 2016 16:51:08 +0100 Subject: Add a session cleanup script and a systemd unit file to trigger it, which serves to terminate SSH sessions cleanly if systemd doesn't do that itself, often because libpam-systemd is not installed (thanks, Vivek Das Mohapatra, Tom Hutter, and others; closes: #751636). --- debian/openssh-server.install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/openssh-server.install') diff --git a/debian/openssh-server.install b/debian/openssh-server.install index 06e0c71b7..dabc440ab 100755 --- a/debian/openssh-server.install +++ b/debian/openssh-server.install @@ -10,6 +10,8 @@ debian/openssh-server.ufw.profile => etc/ufw/applications.d/openssh-server debian/systemd/ssh.socket lib/systemd/system debian/systemd/ssh@.service lib/systemd/system debian/systemd/sshd.conf usr/lib/tmpfiles.d +debian/systemd/ssh-session-cleanup usr/lib/openssh +debian/systemd/ssh-session-cleanup.service lib/systemd/system # dh_apport would be neater, but at the time of writing it isn't in unstable # yet. -- cgit v1.2.3