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: divoplade
Subject: Re: How do you define a service?
Date: Sun, 18 Oct 2020 11:49:28 +0200
User-agent: Evolution 3.34.2

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]