]> git.puffer.fish Git - matthieu/frr.git/commit
lib: daemonize more intelligently
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 1 Jun 2017 12:56:14 +0000 (14:56 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 2 Aug 2017 00:59:51 +0000 (02:59 +0200)
commitf43fbf837c217b08622b0d78e27181d9d716ce6f
treefb9ae9f2059feb602c4ae244eb18aa332b300368
parent71e7975aaf6af5fdafe6786c1962995390646ee5
lib: daemonize more intelligently

Block the parent process until the child has reached the main loop, e.g.
full service is available.

This means it's no longer neccessary to add a "safety sleep" for daemon
cross-dependencies, when using the -d startup option.  This doesn't help
if -d isn't used.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/libfrr.c