From: raingloom <raingloom@riseup.net>
To: Nathan Dehnel <ncdehnel@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: How to test modified shepherd services
Date: Mon, 20 Dec 2021 04:28:11 +0100 [thread overview]
Message-ID: <20211220042811.0146bf8e@riseup.net> (raw)
In-Reply-To: <CAEEhgEtof=wmRLv=wh9sXm9NhE0F+PvaMxE6P7HbXs9Z+bdVjw@mail.gmail.com>
On Sun, 19 Dec 2021 16:47:07 -0600
Nathan Dehnel <ncdehnel@gmail.com> wrote:
> I modified a shepherd service to accept a new field from config.scm
> and I was wondering how to test that it works correctly. Do I need to
> make a VM from my modified guix repo with pre-inst-env?
>
That's probably the best way, it's how I was testing the yggdrasil
service. Definitely do not reconfigure without first testing it in a VM
or container or something.
Word of warning: shepherd is not very forthcoming with logs. You might
want to add some extra logging and redirect output to a file.
next prev parent reply other threads:[~2021-12-20 3:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-19 22:47 How to test modified shepherd services Nathan Dehnel
2021-12-20 3:28 ` raingloom [this message]
2021-12-20 10:00 ` Attila Lendvai
2021-12-20 22:38 ` Nathan Dehnel
2021-12-20 14:08 ` Simon South
2021-12-27 3:20 ` Maxim Cournoyer
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=20211220042811.0146bf8e@riseup.net \
--to=raingloom@riseup.net \
--cc=guix-devel@gnu.org \
--cc=ncdehnel@gmail.com \
/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.