Right but the helm chart is the recommended way to deploy server in prod.
j
Janet Carson
11/06/2023, 4:56 PM
If you aren't deploying in a container, you would write a script to add to systemd. My typical script for wrapping a python command would add:
1. Set uid so it's not running as root
2. Setting up path to the right virtual environment
3. Prefect uses other environment variables you'll probably want to start
4. Creating a pidfile
5. Running the actual command
I haven't written such a script for prefect yet, though
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.