summaryrefslogtreecommitdiffstats
path: root/debian/systemd/ssh-agent.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:49:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:49:47 +0000
commit9c5dd847393c7c0f37ef557d7a0d402deedd8d2a (patch)
treedcb9b4740181f58a5d235e8ca52f9855494f486e /debian/systemd/ssh-agent.service
parentAdding upstream version 1:9.6p1. (diff)
downloadopenssh-9c5dd847393c7c0f37ef557d7a0d402deedd8d2a.tar.xz
openssh-9c5dd847393c7c0f37ef557d7a0d402deedd8d2a.zip
Adding debian version 1:9.6p1-4.debian/1%9.6p1-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/systemd/ssh-agent.service')
-rw-r--r--debian/systemd/ssh-agent.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/systemd/ssh-agent.service b/debian/systemd/ssh-agent.service
new file mode 100644
index 0000000..68273bd
--- /dev/null
+++ b/debian/systemd/ssh-agent.service
@@ -0,0 +1,17 @@
+[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]
+# If you need to pass extra arguments to ssh-agent, you can use "systemctl
+# --user edit ssh-agent.service" to add a drop-in unit with contents along
+# these lines:
+# [Service]
+# ExecStart=
+# ExecStart=/usr/lib/openssh/agent-launch start -- -t 1200
+ExecStart=/usr/lib/openssh/agent-launch start
+ExecStopPost=/usr/lib/openssh/agent-launch stop