summaryrefslogtreecommitdiffstats
path: root/debian/systemd/ssh-agent.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/systemd/ssh-agent.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/systemd/ssh-agent.service b/debian/systemd/ssh-agent.service
new file mode 100644
index 0000000..cdc10bb
--- /dev/null
+++ b/debian/systemd/ssh-agent.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenSSH Agent
+Documentation=man:ssh-agent(1)
+Before=graphical-session-pre.target
+ConditionPathExists=/etc/X11/Xsession.options
+Wants=dbus.socket
+After=dbus.socket
+
+[Service]
+ExecStart=/usr/lib/openssh/agent-launch start
+ExecStopPost=/usr/lib/openssh/agent-launch stop