How to run Airflow with systemd #51060
Unanswered
albertwangnz
asked this question in
Q&A
Replies: 1 comment
-
Yep, I was confused as well. The api-server serves the (web) API alongside the web interface. I found that the api-server and the dag-processor don't go well with the systemd. So I came up with a python script, wrangling those services (semi-manually), see #52209 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am new to Airflow and deploying Airflow on our on-premises Ubuntu machine.
I want to run Airflow with systemd. The manual says "In the scripts/systemd directory, you can find unit files that have been tested on Redhat based systems".
I found the following systemd files in the Git repository (v3.0.1). However, they do not start the "dag-processor" and "triggerer", and it starts "webserver" instead of "api-server". I am confused because another page mentions that I should start "api-server", "dag-processor", and "triggerer", not "webserver".
Is that because the systemd files are out of date? Do I need to create some systemd files to support Airflow 3.0.1 myself to start "api-server", "dag-processor", and "triggerer"? Do I need to start these services in sequence by adding dependences in the systemd files?
Any help will be highly appreciated!
Thank you.
Regards,
Albert
Beta Was this translation helpful? Give feedback.
All reactions