summaryrefslogtreecommitdiff
path: root/debian/systemd/ssh-agent.service
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-07-25 17:07:25 +0200
committerColin Watson <cjwatson@debian.org>2016-07-29 02:33:55 +0100
commit9269812fada73fdd8553d4f6822ce9377ade4c2d (patch)
tree7511cee1e6f23bfb8b1c47026dcf1474e24a127d /debian/systemd/ssh-agent.service
parent4cebe1ac6b50c7bc74313e26d44c4fc0af8886aa (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.service8
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]
2Description=OpenSSH Agent
3Before=graphical-session-pre.target
4ConditionPathExists=/etc/X11/Xsession.options
5
6[Service]
7ExecStart=/usr/lib/openssh/agent-launch start
8ExecStopPost=/usr/lib/openssh/agent-launch stop