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