Add a --replace option to replace a running daemon