From 4cebe1ac6b50c7bc74313e26d44c4fc0af8886aa Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 25 Jul 2016 17:03:17 +0200 Subject: Add debian/agent-launch: Helper script for conditionally starting the SSH agent in the user session Use it in ssh-agent.user-session.upstart. This will also be used in a corresponding systemd user unit. This replaces the backgrounded "ssh-agent -s" with a foreground task which works more nicely with modern init systems for logging/debugging and starting/stopping. Also use a fixed socket file name in $XDG_RUNTIME_DIR -- under both upstart and systemd we can assume this, and it allows restarting the service in a running session. --- debian/openssh-client.install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/openssh-client.install') diff --git a/debian/openssh-client.install b/debian/openssh-client.install index fd6819a7c..fd9c02d1b 100755 --- a/debian/openssh-client.install +++ b/debian/openssh-client.install @@ -26,6 +26,8 @@ usr/share/man/man8/ssh-pkcs11-helper.8 contrib/ssh-copy-id usr/bin debian/ssh-argv0 usr/bin +debian/agent-launch usr/lib/openssh + # dh_apport would be neater, but at the time of writing it isn't in unstable # yet. debian/openssh-client.apport => usr/share/apport/package-hooks/openssh-client.py -- cgit v1.2.3