Jeff King [off-list ref] writes:
So I dunno. I think it would be reasonable to provide a config option to
tell the cache-daemon to just ignore SIGHUP (or alternatively, a general
option to try harder to dissociate itself from the caller). But I'm not
sure I'd agree with making it the default. I'd want to know if anybody
is actually _using_ the SIGHUP-exits-daemon feature. Clearly neither of
us is, but I wouldn't be surprised if other setups are.
That also is a very good summary of what I think. I agree it is a
good thing to have an option between "keep the die-on-HUP for those
who have a working set-up that rely on it" and "daemonize fully and
require the user to explicitly kill it with 'credential-cache
exit'".
Thanks.