I've also added two lines to protect the killing part, which I did not
mention above. Don't know whether it's useful or not.

By the end of pre-start:
    initctl set-env --global 
SSH_AGENT_LAUNCHER=/usr/share/upstart/sessions/ssh-agent.conf

By the beginning of post-stop:
    [ "$SSH_AGENT_LAUNCHER" = /usr/share/upstart/sessions/ssh-agent.conf ] || 
exit 0

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1244736

Title:
  upstart configuration for user launches an extra ssh-agent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1244736/+subscriptions

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to