On Sun, Jul 02, 2023 at 10:01:26PM +0200, Ludovic Courtès wrote: > Hi! > > Attila Lendvai skribis: > > > would the shepherd maintaners (looking at you Ludo :) accept a change that introduces a new field into called RESPAWN-DELAY, and issue a fiber sleep in RESPAWN-SERVICE when it is not #false, and the daemon process quits unexpectedly? > > We could do that. It never occurred to me that this is something one > would want to have though. My reasoning is that if you mark a service > as respawnable, then you really want it to be respawned as soon as it > fails, not 5 seconds later. > > Do you have a motivating example in mind (a daemon) to share? > > Thanks, > Ludo’. > If you want to make sure that something is really gone and cleaned up before trying again. Or an artificial delay, say while waiting for the correct network interface to come up. Or even just `mbsync -a && exit 1 || exit 1` -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted