OS-specific background service for bitcoind #9005

issue laanwj opened this issue on October 24, 2016
  1. laanwj commented at 9:06 AM on October 24, 2016: member

    This issue was triggered by discussion in #8813. Apparently, MacOSX has deprecated daemon() a long time ago with the intent of moving to an OS-specific system for background services. There's a similar case on Windows, where daemon() doesn't exist and never existed.

    I'm not 100% sure that this is worth doing as on Windows and MacOSX actual users generally use the GUI, so won't bother with a headless bitcoind at all [for a long time we didn't even distribute a bitcoind binary for MacOSX]. But I suppose there could be a use case for bitcoind as a system background service even there and this would be the issue to refer to.

    This could take the form of external scripts/wrappers, similar to that for Linux distributions in contrib/init.

  2. laanwj added the label Windows on Oct 24, 2016
  3. laanwj added the label MacOSX on Oct 24, 2016
  4. laanwj added the label Docs and Output on Oct 24, 2016
  5. Sjors commented at 3:34 PM on March 16, 2018: member

    I use a bitcoind daemon on macOS 10.13.3. Lightning might encourage more folks to do so. Apple generally releases a new version every autumn (Northern hemisphere), so probably a good idea to keep an eye on announcements so we can fix this just in time worst case.

  6. pinheadmz commented at 6:26 PM on March 8, 2023: member

    Was this solved by #21007 ? I think that PR removed daemon() from the codebase. I run macOS 12.3.1 and don't have any issues running with bitcoind -daemon

  7. maflcko commented at 6:57 PM on March 8, 2023: member

    Closing for now. Can be reopened if this is still an issue.

  8. maflcko closed this on Mar 8, 2023

  9. bitcoin locked this on Mar 7, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me