https://prefect.io logo
Title
c

Chris Bowen

06/17/2021, 4:22 PM
Hello, I'm getting a Prefect server set up on a RHEL server for the first time. I have a question related to the local agent- is there any way to run the agent "detached" like the server command? With the server, I can run
prefect server start --detach
so it doesn't run interactively. Is there a comparable solution for agents? When my ssh session with the server ends, so does my agent. I might just be missing something obvious. Appreciate any help.
k

Kevin Kho

06/17/2021, 4:27 PM
Hi @Chris Bowen, not quite as seamless as
--detach
but there is this section of the docs. You can use whatever tool lets you run background processes.
supervisor
is just an example.
c

Chris Bowen

06/17/2021, 4:32 PM
Thanks @Kevin Kho, that is extremely helpful! I'll take a look at the
supervisor
suggestion.
👍 1