chiark / gitweb /
asshelp.c: add a lot of debug logging
[gnupg2.git] / debian / dirmngr.README.Debian
1 dirmngr system integration
2 ==========================
3
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
7 automatically.
8
9 systemd
10 =======
11
12 Users on machines with systemd can ensure that dirmngr is always
13 running for their session, and that it gets terminated safely at
14 logout by doing:
15
16    systemctl --user enable dirmngr.socket
17
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:
21
22    gpgconf --kill dirmngr
23    systemctl --user start dirmngr.socket
24
25 Manual dirmngr startup
26 ======================
27
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:
30
31    gpgconf --launch dirmngr
32
33 You may wish to add this to your session login scripts if you're not
34 using systemd.
35
36 dirmngr teardown
37 ================
38
39 If dirmngr is launched manually or automatically (but not supervised
40 by systemd), you probably want to ensure that it terminates when your
41 session ends with:
42
43    gpgconf --kill dirmngr
44
45 You may wish to add this to your session logout scripts if you're not
46 using systemd.
47
48  -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Thu, 27 Oct 2016 12:46:23 -0400