diff options
author | Daniel Kahn Gillmor <[email protected]> | 2016-10-27 18:19:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-11-11 07:44:51 +0000 |
commit | 57e95f5413e21cfcb957af2346b292686a5647b7 (patch) | |
tree | 1ed7f3550d599207beb3e0785f4ed4bcfe5cfa1e /doc/examples/systemd-user/gpg-agent-browser.socket | |
parent | agent: Clean up comments. (diff) | |
download | gnupg-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/gpg-agent-browser.socket')
-rw-r--r-- | doc/examples/systemd-user/gpg-agent-browser.socket | 13 |
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 000000000..bc8d344e1 --- /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 |