/usr/share/upstart/sessions/gnome-keyring-ssh.conf is in gnome-keyring 3.10.1-1ubuntu4.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | description "GNOME Keyring SSH agent"
author "Dimitri John Ledkov <xnox@ubuntu.com>"
start on (starting xsession-init or starting ssh-agent) and started dbus
task
script
[ -z "$SSH_AUTH_SOCK" ] || { stop; exit 0; }
if grep -q X-GNOME-Autostart-enabled=false ~/.config/autostart/gnome-keyring-ssh.desktop /etc/xdg/autostart/gnome-keyring-ssh.desktop
then
stop; exit 0;
fi
eval "$(gnome-keyring-daemon --start --components ssh)" >/dev/null
initctl set-env --global SSH_AUTH_SOCK=$SSH_AUTH_SOCK
end script
|