Please implement a callable option, or some other inter-process communication, that the DaemonContext will use to notify the caller when the daemon context is ready.
DaemonContext
The LSB manual page daemon(7) recommends:
daemon(7)
When a traditional SysV daemon starts, it should execute the following steps as part of the initialization. […] 14. From the daemon process, notify the original process started that initialization is complete. This can be implemented via an unnamed pipe or similar communication channel that is created before the first `fork()` and hence available in both the original and the daemon process. […]
Login to comment on this ticket.