summaryrefslogtreecommitdiffstats
path: root/doc/examples/systemd-user/gpg-agent-ssh.socket
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/systemd-user/gpg-agent-ssh.socket')
-rw-r--r--doc/examples/systemd-user/gpg-agent-ssh.socket13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/examples/systemd-user/gpg-agent-ssh.socket b/doc/examples/systemd-user/gpg-agent-ssh.socket
new file mode 100644
index 0000000..798c1d9
--- /dev/null
+++ b/doc/examples/systemd-user/gpg-agent-ssh.socket
@@ -0,0 +1,13 @@
+[Unit]
+Description=GnuPG cryptographic agent (ssh-agent emulation)
+Documentation=man:gpg-agent(1) man:ssh-add(1) man:ssh-agent(1) man:ssh(1)
+
+[Socket]
+ListenStream=%t/gnupg/S.gpg-agent.ssh
+FileDescriptorName=ssh
+Service=gpg-agent.service
+SocketMode=0600
+DirectoryMode=0700
+
+[Install]
+WantedBy=sockets.target