diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-07-25 17:07:25 +0200 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-07-29 02:33:55 +0100 |
commit | 9269812fada73fdd8553d4f6822ce9377ade4c2d (patch) | |
tree | 7511cee1e6f23bfb8b1c47026dcf1474e24a127d /debian/systemd/ssh-agent.service | |
parent | 4cebe1ac6b50c7bc74313e26d44c4fc0af8886aa (diff) |
Add systemd user unit for graphical sessions that use systemd
Override the corresponding upstart job in that case.
Diffstat (limited to 'debian/systemd/ssh-agent.service')
-rw-r--r-- | debian/systemd/ssh-agent.service | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/systemd/ssh-agent.service b/debian/systemd/ssh-agent.service new file mode 100644 index 000000000..2297f8f75 --- /dev/null +++ b/debian/systemd/ssh-agent.service | |||
@@ -0,0 +1,8 @@ | |||
1 | [Unit] | ||
2 | Description=OpenSSH Agent | ||
3 | Before=graphical-session-pre.target | ||
4 | ConditionPathExists=/etc/X11/Xsession.options | ||
5 | |||
6 | [Service] | ||
7 | ExecStart=/usr/lib/openssh/agent-launch start | ||
8 | ExecStopPost=/usr/lib/openssh/agent-launch stop | ||