HomePhabricator

bitcoind: Daemonize using daemon(3)

Description

bitcoind: Daemonize using daemon(3)

Simplified version of #8278. Assumes that every OS that (a) is supported
by Bitcoin Core (b) supports daemonization has the daemon() function
in its C library.

  • Removes the windows-specific path. Windows doesn't support daemon(), so it don't support daemonization there, automatically.

Original code by Matthew King, adapted by Wladimir van der Laan.

Details

Provenance
Matthew King <chohag@jtan.com>Authored on Jun 28 2016, 06:35
Wladimir J. van der Laan <laanwj@gmail.com>Committed on Sep 26 2016, 11:37
deadalnixPushed on May 14 2017, 22:04
Parents
rABC37871f216e0d: Merge #8807: [univalue] Pull subtree from upstream
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCa92bf4af66f8: bitcoind: Daemonize using daemon(3) (authored by Matthew King <chohag@jtan.com>).Sep 26 2016, 11:37