Allow utils.Daemonize() to not close some fds
This patch implements an optional parameter to utils.Daemonize() which allows that function to not close some file descriptors. This will allow the master daemon to open the listening socket before fork - in order to be able to notify errors and return a meaningful exit code, and then when we fork we don't close that fd. Reviewed-by: imsnah
Loading
Please register or sign in to comment