help-guix
[Top][All Lists]
Advanced

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

Re: How do you define a service?


From: Julien Lepiller
Subject: Re: How do you define a service?
Date: Sun, 18 Oct 2020 08:12:17 -0400
User-agent: K-9 Mail for Android

Mayée you could wrap it with its dependencies? There are some examples of 
wrap-program usage, with haunt for instance.

Le 18 octobre 2020 05:49:28 GMT-04:00, divoplade <d@divoplade.fr> a écrit :
>Hello,
>
>It seems that the modules I import from my program are not available at
>run-time when running it as a service. More precisely, the modules I
>have defined in my packages cannot be loaded from the program.
>
>So I assume that the guile load and compile paths are not set. My only
>debugging tool is to put a sleep() in the code and check that the
>service runs for a time or immediately fails. This is very
>inconvenient, but since I cannot log anything I have no other choice.
>
>How do I make sure that the load path and compile path are set when my
>program is run as a service?
>
>Best regards,
>
>divoplade


reply via email to

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