From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +B9YAz2E5WXyHAEA62LTzQ:P1 (envelope-from ) for ; Mon, 04 Mar 2024 09:20:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +B9YAz2E5WXyHAEA62LTzQ (envelope-from ) for ; Mon, 04 Mar 2024 09:20:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pelzflorian.de header.s=key2 header.b=jw5euPa7; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709540413; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fVPtDfvAUHHuqv9rfH62yLbhr+e4HweJbATKw8lgbos=; b=ma7wF8RSbX+/QHJdAN9osZlRSZaYyaBZCG3YDlxBhZgOujfQK4+Vnuyk8FU5NZo6UsFR0+ cftUAzt7BPrzlqabkFt+NO3v2veGBmUU0KOtq9XLraL2I7fMEmkVLjDkpA/HctTtcxHumN Z2KVM4NtAcfH8Rfberq9aG+zIDhOqMXtwoDwoodW5Pmy8NxeO16ngOcVw2s/++2LLK+PAq hK+yZY2WqoG99farv5jy0x/lL6sAXvRmuVPgMVzjM5AwXxqC22J3dd+4Z5PB9Yw18WbJIQ pm5h8pL2bwwLmCprgVqvJTB1sw0pxAwPkElpu9bE+A1v2quVTtvyvrBef4zBeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pelzflorian.de header.s=key2 header.b=jw5euPa7; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709540413; a=rsa-sha256; cv=none; b=hSSYxng2sdWx4A8M0mKffzgoXjM2GAQshMrRdNiXWUTZmZ5qLJv4OnBg8AqQWKV85Grwpd a6DaJWu7tP96N2vYYR7PbAKoop4cPwvKQDWesUdTQIkz+1gmrSJvsAuTZNfVd66epV1V2w 6ju7OinMCCq2cAGhzkVThall8lmADgyHgQt6FojQGwSCLBXVqpcyFQE+dosF2RjMXdCCLh ozFZK2rmfyM95bnTl+IT0fTpHtUDF7nzzIjyN/6JouLyAr2XUU/rrUIfb88XFUoadf06ej 9Btjd9sdwwP1BGfWPF+EOXy/V4mZidsOSUC1YA91zpU6lZu+2ZiofX62P2M0Ng== 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 C3A0C1EC3B for ; Mon, 4 Mar 2024 09:20:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rh3Y8-0006dP-9a; Mon, 04 Mar 2024 03:19:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rh3Xz-0006Yx-Eo for help-guix@gnu.org; Mon, 04 Mar 2024 03:19:44 -0500 Received: from relay.yourmailgateway.de ([188.68.63.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rh3Xw-0002eX-AW for help-guix@gnu.org; Mon, 04 Mar 2024 03:19:43 -0500 Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4TpBSP0z4rz3wDX; Mon, 4 Mar 2024 09:19:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1709540373; bh=zdVR+efh/Xo9qY0yo3/jj9vBLTTZ1Ajih2rNgu9LnHA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jw5euPa7krXQYAKCnYRgDbi0FXQEI63DT3enyyWtc3v7tFTqe8NlebsKI69XFmQka du3CEZyJcOEgzJH6cHnCYMLc1x+c8JTP2lCERkEZmRJRzJM//Cu7k3B0ZvGCp/ALIw NwKCDZLINWLoNF3xyYrYdbMQXzFN1GG0HDMcHRaaJSeKok7srsHAf3JI6n5Xr7DR6J cPXAY6uy+n4Ztx8fEhMYNZxtmgcuzCf9SgInR+/SiiYWDv/SXcoW3ymHyiVcTr3ucr WgiMQqd6iU82wsMuODF9nh6TXZun+ZBFpeU3VcmQgSNoAgXCMGqa+EzSuDPDz40Bf4 0YnmySBLYlyzQ== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4TpBSP0Fn7z3wDP; Mon, 4 Mar 2024 09:19:33 +0100 (CET) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4TpBSN5LLlz8sZf; Mon, 4 Mar 2024 09:19:32 +0100 (CET) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id BF71282968; Mon, 4 Mar 2024 09:18:27 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: "Owen T. Heisler" Cc: help-guix@gnu.org Subject: Re: Staging Scheme code to run as one-shot service In-Reply-To: <44391266-8dcb-47fc-a886-b4e9e6e0efbb@owenh.net> (Owen T. Heisler's message of "Sat, 2 Mar 2024 00:28:53 -0600") References: <44391266-8dcb-47fc-a886-b4e9e6e0efbb@owenh.net> Date: Mon, 04 Mar 2024 09:18:23 +0100 Message-ID: <878r2y8l68.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: BF71282968 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: Mk1dRzIatyvymH7nIPBoD6YuM+bFDwS7tCC9SU6wT8uyok4E7oex1ST9 Received-SPF: pass client-ip=188.68.63.162; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.20 X-Spam-Score: -6.20 X-Migadu-Queue-Id: C3A0C1EC3B X-TUID: 35TEXd+SdlYX Hi Owen. "Owen T. Heisler" writes: > (shepherd-service (auto-start? #f) > (documentation "Say hello.") > (one-shot? #t) > (provision '(say-hello-service)) > (respawn? #f) > (start #~(lambda () > #$(say-hello))))))) According to info "(shepherd)Service De- and Constructors" the procedure in the start field normally forks, like with make-forkexec-constructor. Maybe this is a way forward? Regards, Florian