#29 Notify the parent process when the daemon is ready
Opened 5 years ago by bignose. Modified a year ago

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.

The LSB manual page daemon(7) recommends:

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.

Metadata