aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/systemd-user/dirmngr.socket
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2016-10-27 18:19:18 +0000
committerWerner Koch <[email protected]>2016-11-11 07:44:51 +0000
commit57e95f5413e21cfcb957af2346b292686a5647b7 (patch)
tree1ed7f3550d599207beb3e0785f4ed4bcfe5cfa1e /doc/examples/systemd-user/dirmngr.socket
parentagent: Clean up comments. (diff)
downloadgnupg-57e95f5413e21cfcb957af2346b292686a5647b7.tar.gz
gnupg-57e95f5413e21cfcb957af2346b292686a5647b7.zip
doc: Include config examples for socket-activated user services.
-- These configuration files and instructions enable clean and simple daemon supervision on machines that run systemd. Signed-off-by: Daniel Kahn Gillmor <[email protected]> - Removed the detailed ChangeLog entry because that is not needed for doc changes. - Added an entry to doc/examples/README. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/examples/systemd-user/dirmngr.socket')
-rw-r--r--doc/examples/systemd-user/dirmngr.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/examples/systemd-user/dirmngr.socket b/doc/examples/systemd-user/dirmngr.socket
new file mode 100644
index 000000000..ebabf896a
--- /dev/null
+++ b/doc/examples/systemd-user/dirmngr.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=GnuPG network certificate management daemon
+Documentation=man:dirmngr(8)
+
+[Socket]
+ListenStream=%t/gnupg/S.dirmngr
+SocketMode=0600
+DirectoryMode=0700
+
+[Install]
+WantedBy=sockets.target