From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 3POFIsbWYme4IQAAe85BDQ:P1 (envelope-from ) for ; Wed, 18 Dec 2024 14:05:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 3POFIsbWYme4IQAAe85BDQ (envelope-from ) for ; Wed, 18 Dec 2024 15:05:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=SoPXA1B3; dkim=pass header.d=wolfsden.cz header.s=mail header.b="n/9Bus0e"; 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=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734530758; 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=dYW+EzjWo3L5mbBUe2bT9G4qDuy7QhNv0/kKPvuV7ZI=; b=ab/66+RiM3Xe3AJgSlHQoAqfS//mnTVocPQBn+6J2aIqFMXqhogOodWbUHOc+i8G6zRLPH ne3gzR5Nm5yVc0U+Be8M7B2XhwCgCa1c+Opsge1O+DODDwm27g77r4Zdic5q7sbSghzhBR 4X0oem8myL3qJI3rbeqfNu2T9ZveuYvT1sxE/DUFHEz8K60tqxX3soNqUbETLWEqLUIqEB 0jKPBi1BYf486CbGALqOE3S77x18HkPWfm4sCfOAzZ59oD/yKYwywWwolJLitfzPoLyJWz KhKVTkAquY+cYv15c3/uxNNrgjDj5+q+PLvO7Pah2LMA7f+PTxuY7buk/da7GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=SoPXA1B3; dkim=pass header.d=wolfsden.cz header.s=mail header.b="n/9Bus0e"; 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=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734530758; a=rsa-sha256; cv=none; b=gN/51pu28FRs6ESF69Jtb3bJDwql3yeeOEs6HJ77ShLRF/4u5m8P9so2AHUeUd0QJBAeO3 xt+W3OiwFTxv8enPLu3lsD2a5wLIgzw9mEkMZsvowL2JeeATQEtWeBd3zlL4m0xOqPS947 XLbhsQf+pT2KXEBlMU0CiC+ZHJaFfvIXnUG4M057kHWVRNDiiUkyNlTgXFiMw+VmfzqNo4 OG4rYT6dE8oKlMb49lgyCvZJRRQ34W1mWj6jAHwOaS6dJpHbvjuUAPuEdGeNsOebQjrJ1U mJIrAq7DZEugKxspSu/u/rN1sNAsW4E6euXqLI/R7etKkSYhxzkygEsTSYvQcg== 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 E91804A7E for ; Wed, 18 Dec 2024 15:05:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNug5-0006dc-TL; Wed, 18 Dec 2024 09:05:30 -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 <~@wolfsden.cz>) id 1tNufy-0006a8-AI for help-guix@gnu.org; Wed, 18 Dec 2024 09:05:24 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tNufv-0004xV-AG for help-guix@gnu.org; Wed, 18 Dec 2024 09:05:22 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 5CE3337A551; Wed, 18 Dec 2024 14:05:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734530712; bh=2TB2rpwiLx4GakIDJ/6yw74r7ZnnJfT/+Oi9W6kvKos=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SoPXA1B38Zye9afZE02HmYyxyU9wrRKIs/QJzLLbAa+KbNCfJN9OhqKcL3m3x/3nG ZE1TLrEyKYz2iXJwF8qP+bhKIv2jEKWv1oYCMuWpDTwTB42ORdHf/BcK6ghVq7cr9G 871Vg3ebwn8DspjdFoaMgeA6hTCnh5Cd2apKSPYleUwI2fnJSUgGDX8IgPRvsVusZ/ 86/aUjXBCzypxh7pE2D7oOLMCjbzvUXKn0QhLypDapoIjihMm2+nNDGWWBMT65TcTK Q4HeliKk2ps7srl3R/MwWfE6Gm9O7YB2sm1Y9vz+fSZV7DvDZL0ZdctitY1+VXXd3f PYkeZQ3rRzq/j/bt8SzrNnZTcujBNk4j3PzFFLUe7+2MyNmP4il0nlJxHrfsmRI8Mc dRfKVw815oX5g4Kk9e/8/jIrgg9R9lj+N3l/cN1/+94IAEiX9oquAeGDgHb7GFx5X5 HcbHoee87PFxNcS+EFCKt8xIiSe2TZshDUYnHTNN6JgV2H9ediMjgXpEipYvi1XY7g 0phCSJurBAykaVp+RU+0B8Pg4fITgrOzWT1rCkXMPIcj/PLy8LtxZg6RpXAqJkiywI rh3gwd+bTiyFGg6Us8kKrDcGFzWSQ9gZsOfIfncpKcK6PSDDYUcXVxQpt9pQkTcRBa LwX/TWP9WPIjlv1qEf2Z44KA= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 7A65E379DAF; Wed, 18 Dec 2024 14:05:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1734530711; bh=2TB2rpwiLx4GakIDJ/6yw74r7ZnnJfT/+Oi9W6kvKos=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=n/9Bus0esnY+b0CHK8BYTYpgPLbpu1G3p+BNBD952NL2/9S9m3NNY4KlIVtW9/E1B eRm4JeEdHso1NI3LKPnVpvNERjiviAnA7EpfsdNaDcIKdvVWmKou/uRutMmSv2C9Xb AKWX2qUez52IIVIhI40jKBSaebz5QkQr+YFEtKOzGbOLNTQViwG3v1CvLeLzOI5JZN KmgSTEvZ03CO8rqQe2oo1oPosnzue3llAIGcAiWKr1zy9U3bv3HGk4M49WlNQlU8mw 99U9ZMJYnq4DVe63FS1von65wXmokh3OhXJflQWV7m5m3oqAI2HJx0MOkCxhAHJmhl Vqa/mQyYV3A2KpGVhaXz0xpnxTntv0KVe6fiP+4s99wnYLO/JPKzN8+MrRCRu5Ky3Q /xE6bZ+u1DWvT+Vb95wpx9OenRY0liffLPGKIvbRpVG/zErQqN5RAO508SeR8eF7AA abFXOikb3ownJ2nJYmabakC2RE58TUKTaMnu6C75D4weRy2gU5V7PkT/Rxs4QzzAky vqPLf7K2lyPNJtz98UEFa3ni1ujGOXkSsuGNmrJcDXG7DD+tRRUcU99sn4e15cxK3h hhZg1ez8FSktVF9eJrtJoFfp3g3tkYYDxO5k1pLsVDzLZwYbWfCtXowG8Nm3KqVY7o /T02WsBvns9B8eRcstzMtnDQ= From: Tomas Volf <~@wolfsden.cz> To: Felix Lechner via Cc: Felix Lechner Subject: Re: How to add the timer-trigger-action to a shepherd service? In-Reply-To: <87y10fi4ix.fsf@lease-up.com> (Felix Lechner via's message of "Mon, 16 Dec 2024 15:36:54 -0800") References: <87cyhrb5oa.fsf@wolfsden.cz> <87y10fi4ix.fsf@lease-up.com> Mail-Followup-To: Felix Lechner via , Felix Lechner Date: Wed, 18 Dec 2024 15:05:10 +0100 Message-ID: <877c7xaxyh.fsf@wolfsden.cz> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: mx13.migadu.com X-Migadu-Spam-Score: -4.23 X-Spam-Score: -4.23 X-Migadu-Queue-Id: E91804A7E X-TUID: BLoQOBuFb+UP --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, Felix Lechner via writes: > Hi Tomas, > > On Mon, Dec 16 2024, Tomas Volf wrote: > >> what to put into the (actions) field > > Please try this: > > (actions > (list (shepherd-action > (name 'trigger) > (documentation "Trigger the action associated with this timer.= ") > (procedure #~(identity trigger-timer))))) I see, so basically from shepherd use just the procedure, and craft the rest of the action by hand. Thank you for the advice. :) > > You can see my full timer definitions here. [1] > > Kind regards > Felix > > [1] https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818= f21810b5b402db51c77d3b344/host/wallace-server/operating-system.scm#L660-L664 > =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmdi1pYOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wam7BA/+MvUnkHxvJmsiHoeDejyvZ7XOQB7jZTmnJ8NZ QkwW3nON2n8F/Ww8V6duToteQ/U+SenfGIPtDfCZ87pV79gJdS/j+aARCC5x+0RU BmF3Ku1P14LnfXctq9LkQpawkB91lep+YDF+bJHbfM0XihS93WPpELFaQjWx+6aP lG8oTLcU4iyykeeJeLQhyKuIVCgi1NaW/mRr9xelgCSv8jtdRAExGMtn9/68C9uO NoCSqTPVqsAWWhIQwXrzG5oc7vBGOb+1eb2BqSpRi12WoIJtco/IySTiNnYc0l/t v0lg9n9IXRtwuz+PaCDJYIDxg6blZDHB2Zot7FeIFgU97dY+iFnUG4ngqqbYLk+w iMpyW2xaxAqed+5zwMQzmWT93kn061JjEL3bSegftUD5gjnIiOoZe+nzpmcO1UwT SLofm45p8Fw41YW9GHnYq0cDqpGIAXUBNGB3K8B2BH5vIEmzwUTFSHXALfMCMRi2 qXUg+VlrwVoQyrHPxUn99Nclpp/CuP9fQ7+57+uM1aDtZLRrPxgJxc2VwCqww1HD 9gJKLXk2Y648o5yojCw34Jmcc3Q+1ipL6OS/6EwiFIYCIFHMd8uKIHsPugXjQIY6 ESNZZT0W1NONzLEUuZKvM5nqaH6JRubZ+kJvHycZaNAJHdzPuhkgDYIG5y2eJXxp 8MnTsys= =F30I -----END PGP SIGNATURE----- --=-=-=--