diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-09 11:02:33 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-14 14:48:20 +0200 |
commit | 5f74169e8e03e64a15499866c6a6de9f38d36f2d (patch) | |
tree | de21de6eee644ba5b7645f27b82c160b2949766d /doc | |
parent | b9233cb9a82690f81446443e016e07e01c123910 (diff) | |
download | guix-5f74169e8e03e64a15499866c6a6de9f38d36f2d.tar guix-5f74169e8e03e64a15499866c6a6de9f38d36f2d.tar.gz |
daemon: Support systemd-style socket activation.
* nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro.
(systemd_activation_sockets): New function.
(main): Use it. Remove obsolete 'printMsg' call.
* doc/guix.texi (Invoking guix-daemon): Document socket activation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 94998f170f..b7005f0ef1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1554,7 +1554,11 @@ is normally run as @code{root} like this: # guix-daemon --build-users-group=guixbuild @end example -@noindent +@cindex socket activation, for @command{guix-daemon} +This daemon can also be started following the systemd ``socket +activation'' protocol (@pxref{Service De- and Constructors, +@code{make-systemd-constructor},, shepherd, The GNU Shepherd Manual}). + For details on how to set it up, @pxref{Setting Up the Daemon}. @cindex chroot |