Files
lightning/ccan/ccan
Rusty Russell 979fbeb3b0 lightningd: simplify --daemon.
Dumb programs which have a --daemon option call fork() early.  This is
terrible UX since startup errors get lost: the program exits with
"success" immediately then you discover via the logs that it didn't
start at all.

However, forking late introduced a heap of problems with changing
pids.  Instead, fork early but keep stderr and the parent around: if
we fail early on, the parent fails with us.  We release our parent
with an explicit action just before the main loop.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-08-04 21:29:03 +02:00
..
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2019-08-02 15:56:15 +02:00
2017-01-04 13:16:47 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2017-01-04 13:16:47 +10:30
2018-10-19 00:53:00 +00:00
2018-05-15 05:54:15 +00:00
2016-11-09 18:55:15 +10:30
2017-01-04 13:16:47 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2018-10-19 00:53:00 +00:00
2016-11-09 18:55:15 +10:30
2016-11-09 18:55:15 +10:30
2019-02-07 13:05:59 +01:00
2016-11-09 18:55:15 +10:30
2018-10-19 00:53:00 +00:00
2016-11-09 18:55:15 +10:30
2015-09-25 11:51:18 +09:30
2016-11-09 18:55:15 +10:30
2018-12-10 00:00:50 +00:00
2016-11-09 18:55:15 +10:30