all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Attila Lendvai <attila@lendvai.name>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: setting open files limit for daemon processes
Date: Fri, 25 Feb 2022 23:04:56 +0100	[thread overview]
Message-ID: <0546c36f7d3d9347fb2c713d12d99b280a046f0a.camel@telenet.be> (raw)
In-Reply-To: <oF7cdpaoTh03SBvAhmLQ2kSvazy5WnUQJB2d8IDbZRdFkv_G-jofbMyZMkGY8wXpnUrV3pGwKfb6iy08_91hQECRCgOmQ9SnOTjrctUmv4w=@lendvai.name>

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

Attila Lendvai schreef op vr 25-02-2022 om 21:28 [+0000]:
> is there a way to instruct `guix system vm ...` _not_ to rebuild all the
> dependants, and only replace the Shepherd that is running as the init process?

This can be done by customising the 'shepherd' field of 'shepherd-
configuration', introduced in 95f72dcd7aece05e9252c93bef5a831f96cb5393.

The manual has an example on how to use this:

The following example specifies the Shepherd package for the operating
system:

@lisp
(operating-system
  ;; ...
  (services (append (list openssh-service-type))
            ;; ...
            %desktop-services)
  ;; ...
  ;; Use own Shepherd package.
  (essential-services
   (modify-services (operating-system-default-essential-services
                     this-operating-system)
     (shepherd-root-service-type config => (shepherd-configuration
                                            (inherit config)
                                            (shepherd my-shepherd))))))

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

      reply	other threads:[~2022-02-25 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-25  7:55 setting open files limit for daemon processes Attila Lendvai
2022-02-25 10:42 ` Maxime Devos
2022-02-25 14:09   ` Attila Lendvai
2022-02-25 21:28     ` Attila Lendvai
2022-02-25 22:04       ` Maxime Devos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0546c36f7d3d9347fb2c713d12d99b280a046f0a.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.