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