Skip to content
Commit 29952618 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

daemon: Write own daemon routine



RPC will start page-server daemon and needs to get the
controll back to report back to caller, but the glibc's
daemon() does exit() in parent context preventing it.

Thus -- introduce own daemonizing routine.

Strictly speaking, this is not pure daemon() clone, as the
parent process has to exit himself. But this is OK for now.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 040fe771
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment