Home GnuPG
Diffusion GnuPG 75f8aaf5bc2d

dirmngr: Implement --supervised command (for systemd, etc).
75f8aaf5bc2dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Implement --supervised command (for systemd, etc).

* dirmngr/dirmngr.c (main): Add new --supervised command, which is a
mode designed for running under a process supervision system like
systemd or runit.
* doc/dirmngr.texi: document --supervised option.

"dirmngr --supervised" is a way to invoke dirmngr such that a system
supervisor like systemd can provide socket-activated startup, log
management, and scheduled shutdown.

When running in this mode, dirmngr:

  • Does not open its own listening socket; rather, it expects to be given a listening socket on file descriptor 3.
  • Does not detach from the invoking process, staying in the foreground instead.
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Oct 26 2016, 10:37 PM
gniibeCommitted on Oct 27 2016, 3:46 AM
Parents
rG6316b28e8969: agent,common: move get_socket_name() into common.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG75f8aaf5bc2d: dirmngr: Implement --supervised command (for systemd, etc). (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Oct 27 2016, 3:46 AM