@tmw take a look at this section of the Guix manual:
https://guix.gnu.org/manual/1.5.0/en/html_node/Shepherd-Services.html
You can probably work around your issue by adjusting `respawn-limit` and `respawn-delay`.
@tmw take a look at this section of the Guix manual:
https://guix.gnu.org/manual/1.5.0/en/html_node/Shepherd-Services.html
You can probably work around your issue by adjusting `respawn-limit` and `respawn-delay`.
@shepherd thanks! do you know if there is a common idiom for changing such properties of services created by e.g
(service wireguard-service-type) that are extensions of a shepherd service and don't necessarily accept those parameters directly? (maybe wireguard does accept them, i haven't checked, but my way of doing this kind of thing so far has been hacky and used mutation)
@tmw unfortunately if the Guix service doesn't expose the field of the shepherd service, there is no way to set it. What you can do though, is to create a new Guix service which inherits from the wiregard one but sets its own shepherd service as you see fit.
It's the only way I know, and it's quite hacky.