From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2CmJKZExjF+zCwAA0tVLHw (envelope-from ) for ; Sun, 18 Oct 2020 12:14:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EPRiJZExjF/2GQAA1q6Kng (envelope-from ) for ; Sun, 18 Oct 2020 12:14:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B81E94036A for ; Sun, 18 Oct 2020 12:14:09 +0000 (UTC) Received: from localhost ([::1]:58520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kU7Zf-0003Jg-DE for larch@yhetil.org; Sun, 18 Oct 2020 08:14:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kU7ZX-0003JK-7q for help-guix@gnu.org; Sun, 18 Oct 2020 08:13:59 -0400 Received: from lepiller.eu ([89.234.186.109]:38208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kU7ZT-0004bo-Mr for help-guix@gnu.org; Sun, 18 Oct 2020 08:13:58 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 06ba722d; Sun, 18 Oct 2020 12:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=uujtrQfxXXXgRsg+1EgUXT/YM3hAyt6qoVKg0AZTN7M=; b=R9Vl/YpnIAlU abjMPu9shBuYFkxGPum1keD747J4JxMv23Ta+QcoqoKCUWzSZNfSaVvpL7XRfGYt UHVrv4xjUnl4Vj5tTGEoYLZL/oK9bCQdwm4LDUf2QB64eHs2ilRCTzhTxDPApe3d IkL+tNslAUJCKvHjeyeEwYq5+32JMjDwCZiCxV7nj7muPwDvN+NTaR5o5fxLq1+K W+laPJ8KEn7Wresy1tvveqDW+f3pXdTQ6erzGB1sMcE1fI4hVlBHhppnzLK7B/Dy 5YdBqRmJfaNnYnLuJoIWl5krKyJkN9Pd15KMJtrWCyxxLDboDHYU+CwQ1xjfEj+1 LpihBH1r3g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ba12bf51 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 18 Oct 2020 12:13:48 +0000 (UTC) Date: Sun, 18 Oct 2020 08:12:17 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <84f1892bab3645699c82a64ae313bd367bfe947d.camel@divoplade.fr> References: <69eea6b79a4850a66adc24a067ebba0d98c33c58.camel@divoplade.fr> <84f1892bab3645699c82a64ae313bd367bfe947d.camel@divoplade.fr> MIME-Version: 1.0 Subject: Re: How do you define a service? To: help-guix@gnu.org,divoplade From: Julien Lepiller Message-ID: Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/18 08:13:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=lepiller.eu header.s=dkim header.b=R9Vl/Ypn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.09 X-TUID: EhPsdQdice1T May=C3=A9e you could wrap it with its dependencies? There are some examples= of wrap-program usage, with haunt for instance=2E Le 18 octobre 2020 05:49:28 GMT-04:00, divoplade a =C3= =A9crit : >Hello, > >It seems that the modules I import from my program are not available at >run-time when running it as a service=2E More precisely, the modules I >have defined in my packages cannot be loaded from the program=2E > >So I assume that the guile load and compile paths are not set=2E My only >debugging tool is to put a sleep() in the code and check that the >service runs for a time or immediately fails=2E This is very >inconvenient, but since I cannot log anything I have no other choice=2E > >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