Change run_server action to support child-created pid files