guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to test modified shepherd services


From: raingloom
Subject: Re: How to test modified shepherd services
Date: Mon, 20 Dec 2021 04:28:11 +0100

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]