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 failure.
scripts/systemd directory you can find unit files that
have been tested on Redhat based systems. You can copy those to
/usr/lib/systemd/system. It is assumed that Airflow will run under
airflow:airflow. If not (or if you are running on a non Redhat
based system) you probably need to adjust the unit files.
Environment configuration is picked up from
An example file is supplied. You
can also define here, for example,