Running Airflow with systemd¶
Airflow can integrate with systemd based systems. This makes watching your daemons easy as systemd can take care of restarting a daemon on failures.
scripts/systemd directory, you can find unit files that
have been tested on Redhat based systems. These files can be used as-is by copying them over to
The following assumptions have been made while creating these unit files:
Airflow runs as the following user:group
Airflow runs on a Redhat based system.
If this is not the case, appropriate changes will need to be made.
Please note that environment configuration is picked up from
An example file is supplied within
You can also define configuration at