[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add the timer-trigger-action to a shepherd service?
From: |
Felix Lechner |
Subject: |
Re: How to add the timer-trigger-action to a shepherd service? |
Date: |
Mon, 16 Dec 2024 15:36:54 -0800 |
User-agent: |
mu4e 1.12.7; emacs 29.4 |
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)))))
You can see my full timer definitions here. [1]
Kind regards
Felix
[1]
https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818f21810b5b402db51c77d3b344/host/wallace-server/operating-system.scm#L660-L664