From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org,divoplade <d@divoplade.fr>
Subject: Re: How do you define a service?
Date: Sun, 18 Oct 2020 08:12:17 -0400 [thread overview]
Message-ID: <A12278A8-C6DA-42AB-B050-A2FB9215E3A4@lepiller.eu> (raw)
In-Reply-To: <84f1892bab3645699c82a64ae313bd367bfe947d.camel@divoplade.fr>
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
next prev parent reply other threads:[~2020-10-18 12:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-17 15:07 How do you define a service? divoplade
2020-10-17 15:58 ` Wiktor Żelazny
2020-10-17 19:47 ` divoplade
2020-10-17 20:55 ` Julien Lepiller
2020-10-17 21:08 ` divoplade
2020-10-17 21:42 ` divoplade
2020-10-17 22:18 ` Julien Lepiller
2020-10-18 9:49 ` divoplade
2020-10-18 12:12 ` Julien Lepiller [this message]
2020-10-18 14:53 ` divoplade
2020-10-18 15:43 ` divoplade
2020-10-18 16:42 ` Efraim Flashner
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A12278A8-C6DA-42AB-B050-A2FB9215E3A4@lepiller.eu \
--to=julien@lepiller.eu \
--cc=d@divoplade.fr \
--cc=help-guix@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).