From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oPM3L6P6KWfTFQEAqHPOHw:P1 (envelope-from ) for ; Tue, 05 Nov 2024 10:59:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oPM3L6P6KWfTFQEAqHPOHw (envelope-from ) for ; Tue, 05 Nov 2024 11:59:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cksp2vfl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730804387; a=rsa-sha256; cv=none; b=e2of/jn+ZZhdvQZVD3chJnCQxJ/e68Png533QnOB13AP1AMCN0QUTls53yT30kOeawFnPz iroCAWziQZHifoq+TSN/A6WYW4OsnWxVvGRntfBW4/mbZIX6R1s9xs19P5CaLFTGE/qTFf J5Vbi96PAa7es6SJ6N2HmohgOvSaRHP/9rttV3uezeAR5KL/ubcWes67/kVheC1om5xOdh /Uob9ltphyd3Zme3DHvedXUaXqCX/TkuRLl2JNpgrYeCNX+G0dHn1iqrP/KaC+ItH118x8 lbKW+QuL2M+EZCs2Wu+aHSMRlsbkaLLZuZ3vok+1ZCdetn75XeDCFnnCpyyzKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cksp2vfl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730804387; 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=c3yvXWlzvBazgMEPOXcGjsv0xO7c+YgffCdQ1I649cQ=; b=n5FapF1B5ji+n5nr4cb15m89Wh49pvd8/yFiI8cwGS4nNxGCJguzOYb8Zu3mu47bumyJQl il5sTAV/fCeztA+bDv+Cr1ddf4/2MihFr2XopRFupMeV2ZCnAEaWZ5fC/P0XBWVJWoLudI swdXLHr+yDxeg+LRHny/qhLtXFZx4+MxVqLDAK0KenKnYET9dJ2BRxgGaqF1qRhZK9QFb4 8qOKksMQG59cvSBvLcoIfsAoSr7lejMl/HCgJzTEddKF+PAUsbI7u5pRX+O2FoFtys3cZU SNXPHTzp2LDkPo94vNM7lgjXLAlB2oZAUzTX3bkvUnzE84b2YfLyxUye1XoIvg== 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 6B0B7844E6 for ; Tue, 05 Nov 2024 11:59:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8HHM-0004ry-OU; Tue, 05 Nov 2024 05:59:20 -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 1t8HHL-0004ro-86 for guix-devel@gnu.org; Tue, 05 Nov 2024 05:59:19 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8HHJ-0004ly-HF; Tue, 05 Nov 2024 05:59:19 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5cb615671acso3145347a12.1; Tue, 05 Nov 2024 02:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730804353; x=1731409153; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=c3yvXWlzvBazgMEPOXcGjsv0xO7c+YgffCdQ1I649cQ=; b=cksp2vflx9xM1jytYaiFkY/Yw0EmrzHKRWmJt0/ZwPEx3L7d2tyTYzi9TxlHuq/t1e ghV0Ehp9d7NyND4zHJX2vNrppzcD6CXj6YARbGa4OzHaablLYLGagtP3gnjUlV7ptVRQ LP9WEEu/YfA9vfDA2s0qowB9lfMfRC1kPh+7Yrd+kK1eb5UATctILTX2Pj8TZuYJIkW3 MrQV+p6Jwr0rN+ZShLtjcxnhB8JcoqS5PJ+ZS6DHNxForA5d9f0LfMoDLxZj3Odk1taf T0X7OgQSPxRzfBY/fOu+gmRGdbGLXDPySJAw45vF2cZKf8IZNP11lITdj2M22HVw2NRv uwyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730804353; x=1731409153; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c3yvXWlzvBazgMEPOXcGjsv0xO7c+YgffCdQ1I649cQ=; b=F77gqConhNPLM/kmmuMsnQ1ZlGy3wBNqtd5xy2A7gdD4j8v5CxGkS0PtNPDNXjfQnl Y49ZDu/hxq/35jmhOL2b71h7PtlTLt/SUJMuhhMCInOe1Psbr+LkEtm0WJsk1+RpyKwH 3ovYu2GebGdUFzjPpbmcQPRTFyM8WEGWAtwR6u938oSu3+k+LTYEpqgLv6H4UdM+OPem LxPlgTsTy1yrC2oc7IbbhUOi+0792LcGuIh1r6updHq3NOMlzFkpDY1zbSP4KeCLFm9m dIvFa7zC6G+/2oTLw/KwJDLvFXDk8tuAI6T98XZ0jLsSKeqdh1PRUSiUdh3QJCqAVPtP TUaw== X-Forwarded-Encrypted: i=1; AJvYcCVJ27dT4dvO3DPIuN9svAxx3gZvGBOdtHe5+zS/x36MBNgqS3lAp0p3BpSzjwFN4BlD3tPc1LB6b1pd@gnu.org X-Gm-Message-State: AOJu0Yw08Wt17v1nKdfvGFLX0HiEXFe6+yVkb9KUUpXW7La51YynSlyY ADuKmKkZkn58QHaCsL3W5y5NbnPc+94pdtU6mj9hxQLTfX1c8veuXcGf1iuV X-Google-Smtp-Source: AGHT+IFyPc9+S37CvPstZv6LmxH1rq65XMM3ERtlYlXwquEa9eo0JsETRmGb7CefErJVPFlr8j3+HQ== X-Received: by 2002:aa7:ce1a:0:b0:5cb:bebb:38d8 with SMTP id 4fb4d7f45d1cf-5ceb9263166mr15369306a12.14.1730804353151; Tue, 05 Nov 2024 02:59:13 -0800 (PST) Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9eb16dae5csm117751166b.79.2024.11.05.02.59.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 02:59:12 -0800 (PST) Date: Tue, 5 Nov 2024 12:59:08 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Denis 'GNUtoo' Carikli , guix-devel@gnu.org Subject: Re: Announcing shepherd-run Message-ID: Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Denis 'GNUtoo' Carikli , guix-devel@gnu.org References: <20241103165709.59c00ecf@primary_laptop> <87ed3q39x1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G01LvSn5DuzWs0hn" Content-Disposition: inline In-Reply-To: <87ed3q39x1.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=efraim.flashner@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.71 X-Spam-Score: 0.71 X-Migadu-Queue-Id: 6B0B7844E6 X-Migadu-Scanner: mx10.migadu.com X-TUID: d2CHgWtoploU --G01LvSn5DuzWs0hn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 04, 2024 at 11:34:50PM +0100, Ludovic Court=C3=A8s wrote: > Hello, >=20 > Efraim Flashner skribis: >=20 > > On Sun, Nov 03, 2024 at 04:57:09PM +0100, Denis 'GNUtoo' Carikli wrote: > >> Hi, > >>=20 > >> On Sun, 3 Nov 2024 15:19:04 +0200 > >> Efraim Flashner wrote: > >>=20 > >> > Announcing the initial release of shepherd-run! > >> >=20 > >> > Do you have experience with systemd and systemd-run? Do you wish you > >> > were able to quickly and easily add a simple service to your (user or > >> > system) shepherd instance? > >> >=20 > >> > Using the finest technologies from the 70's, written in gawk, I > >> > present shepherd-run! >=20 > An interesting blend of technologies from the 70=E2=80=99s. :-) >=20 > >> Is there any plans to integrate that with Guix and Shepherd later on? > > > > If it proves to be useful I could see re-writing it in guile so it can > > be part of shepherd directly. >=20 > Shepherd 1.0-to-be (current =E2=80=98devel=E2=80=99 branch) gained a gene= ric =E2=80=98timer=E2=80=99 > service that does the job the =E2=80=98at=E2=80=99 command would do back = in the day > (before the advent of CD-ROM and the information superhighway): >=20 > herd schedule timer at 07:00 -- mpg123 alarm.mp3 >=20 > We=E2=80=99re talking about something quite similar, just not delayed, ri= ght? systemd-run has a --timer flag, and I could see adding a flag for shepherd-run after shepherd 1.0. To me the big thing systemd-run brought was being able to launch programs from the shell and have it show up in `systemctl --user services`, and I'd like to be able to get commands I run from the CLI to show up in `herd status` the same way. systemd has some more magic I wanted to steal, like being able to launch GUI applications from systemd-run. shepherd-run basically parses the flags and commands and then writes out a service to a temporary file and loads it with 'herd load root ...' --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --G01LvSn5DuzWs0hn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmcp+ngACgkQQarn3Mo9 g1HtlQ/9FYXMOUfQgZIILfe5rzWlzrRE3906jf9l6A9JCpmOBIB+RrlNC3M/Yn2s yQwMl2tBi8fCIosTrZFvVwZjX3SHuUqP1Tgm0TW/WNu1sDmcDqPblQ8VRHhgXkh2 cu+T/iyQ6aeOapACQxkMXJjbey6P/BvOoggh75FuLHriScG0FoeDf4W70WCk7fYb CkfZenU9h4r0/tb4nFKDkgDtRiTE0qK5ePRMyhR4f0vCZLtY7wK+QoA3CJu5XnDe 9qSRqxX4nHH8srTyTOAzLNXqlFRFmQMgUJAIHJTAGQitMlFvw3MYoE+b44xiRaFo sOpmSvPnG91m2OtFKS6LD6qIV+Xnl6ofFCOt2akwPjy8GcgLZo4nI0hUyzktFhY4 aLa/jMhsVC+aykH499r4xzH2qEg2RhHbFpNMlGSZhtS+IIcYGF9UZNY/vZOxwiVC 8rJUlFpkIphDgp84kgF7cNqIpxdca1qOdgNylX+Sp54kBs6lqZn3z8th4VQyJe6i nT/JzsJ2otmscCObqTkoXINrLHFIqGImkUov9H9obMvA17gOlNvoBTig+jsRMUpi 8HTGFuSl8Jw3dA+UImbVlOkDVhCqcnTLft0ZArLqi/GpS2m9CKA5Pf2VqgLQGXsX cf3b8x4n2yHu9Iy4KoBuBH+W6NciGbH1fl0pN3V27EMmuUSiTeQ= =XQHH -----END PGP SIGNATURE----- --G01LvSn5DuzWs0hn--