From: divoplade <d@divoplade.fr>
To: help-guix@gnu.org
Subject: Re: How do you define a service?
Date: Sun, 18 Oct 2020 11:49:28 +0200 [thread overview]
Message-ID: <84f1892bab3645699c82a64ae313bd367bfe947d.camel@divoplade.fr> (raw)
In-Reply-To: <69eea6b79a4850a66adc24a067ebba0d98c33c58.camel@divoplade.fr>
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 9:49 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 [this message]
2020-10-18 12:12 ` Julien Lepiller
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=84f1892bab3645699c82a64ae313bd367bfe947d.camel@divoplade.fr \
--to=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).