Thank you for your reply. So you are saying that you are relying on whatever service manager to daemonize the process? I am compiling for OpenWRT which uses procd, not systemd. On Thu, Jul 20, 2023 at 9:04 PM Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > > Hi, > > On Thu, Jul 20, 2023 at 10:42 AM Dynastic Space <dynasticspace@xxxxxxxxx> wrote: > > > > I am reading through the bluetoothd code for version 5.56, but I > > cannot find the call that makes it into a daemon. I don't see a fork > > or a daemon call. How is it turned to one? > > I am compiling the code on an OpenWRT system. > > We don't call fork anymore, since most likely bluetoothd would be run > as a systemd service I don't think it matters though. > > -- > Luiz Augusto von Dentz