Has anyone had success setting up the running of a Prefect agent on a local machine as a Windows service? I would’ve expected this to be the most robust way of making sure any unexpected failure of the agent process would result in a restart, but having fought with it now for a few hours using various approaches (nssm.exe, wswin.exe, etc.), I can’t seem to get my work queue to see the agent and run my flows.
What is the recommended practice for running an agent upon starting up the box with the ability to restart upon failure on a Windows machine?