[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
add shepherd requirement to an existing service?
From: |
Remco van 't Veer |
Subject: |
add shepherd requirement to an existing service? |
Date: |
Mon, 11 Mar 2024 12:04:45 +0100 |
User-agent: |
mu4e 1.10.8; emacs 29.1 |
Hi,
I'd like to add a shepherd requirement to an existing service, as
provided by guix, to prevent it from starting before some other service
starts.
For exampple: I have NAS which is very slow to start after a power
failure so I created a simple service to keep trying to mount an NFS
share until it succeeds. This share contains files shared through
syncthing, so I want syncthing to start after the NFS service is
started.
Is there any way to do this apart from defining my own
syncthing-shepherd-service which includes the extra shepherd
requirement?
Kind regards,
Remco
- add shepherd requirement to an existing service?,
Remco van 't Veer <=