init the server daemon