summaryrefslogtreecommitdiff
path: root/debian/systemd/ssh-agent.service
diff options
context:
space:
mode:
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 0000000..2297f8f
--- /dev/null
+++ b/debian/systemd/ssh-agent.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=OpenSSH Agent
+Before=graphical-session-pre.target
+ConditionPathExists=/etc/X11/Xsession.options
+
+[Service]
+ExecStart=/usr/lib/openssh/agent-launch start
+ExecStopPost=/usr/lib/openssh/agent-launch stop