Skip to content
  • Pavel Emelyanov's avatar
    29952618
    daemon: Write own daemon routine · 29952618
    Pavel Emelyanov authored
    
    
    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>
    29952618
    daemon: Write own daemon routine
    Pavel Emelyanov authored
    
    
    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>
Loading