'Bind one listen socket per unique local storage policy ring port.  Then
do all the work of drop_privileges except the actual dropping of
privileges (each forked-off worker will do that post-fork in
:py:meth:`post_fork_hook`).'

def do_bind_ports(self):

    self._reload_bind_ports()
    for port in self.bind_ports:
        self._bind_port(port)
    try:
        os.setsid()
    except OSError:
        pass
    os.chdir('/')
    os.umask(18)
