1 dirmngr system integration
2 ==========================
4 Since 2.1.x, gpg and most related processes will auto-launch dirmngr
5 if needed. These auto-launched processes will inherit whatever
6 environment they started from, and they will not terminate
12 Users on machines with systemd can ensure that dirmngr is always
13 running for their session, and that it gets terminated safely at
16 systemctl --user enable dirmngr.socket
18 If you do this from the middle of a running session, you probably also
19 want to clean up any other running dirmngr, and ensure that the
20 service is started for the current session as well:
22 gpgconf --kill dirmngr
23 systemctl --user start dirmngr.socket
25 Manual dirmngr startup
26 ======================
28 Any user who wants to launch dirmngr manually (e.g., to talk to it
29 with a tool from outside the GnuPG suite) should do so with:
31 gpgconf --launch dirmngr
33 You may wish to add this to your session login scripts if you're not
39 If dirmngr is launched manually or automatically (but not supervised
40 by systemd), you probably want to ensure that it terminates when your
43 gpgconf --kill dirmngr
45 You may wish to add this to your session logout scripts if you're not
48 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Thu, 27 Oct 2016 12:46:23 -0400