incubator-airflow/scripts/systemd
Kamil Breguła 5fb64b9f2a [AIRFLOW-6479] Update celery command calls (#7068) 2020-01-08 17:02:14 +01:00
..
README
airflow
airflow-flower.service [AIRFLOW-6479] Update celery command calls (#7068) 2020-01-08 17:02:14 +01:00
airflow-kerberos.service
airflow-scheduler.service
airflow-webserver.service
airflow-worker.service [AIRFLOW-6479] Update celery command calls (#7068) 2020-01-08 17:02:14 +01:00
airflow.conf

README

The systemd files in this directory are tested on RedHat based systems. Copy (or link) them to /usr/lib/systemd/system
and copy the airflow.conf to /etc/tmpfiles.d/ or /usr/lib/tmpfiles.d/. Copying airflow.conf ensures /run/airflow is
created with the right owner and permissions (0755 airflow airflow)

You can then start the different servers by using systemctl start <service>. Enabling services can be done by issuing
 systemctl enable <service>.

By default the environment configuration points to /etc/sysconfig/airflow . You can copy the "airflow" file in this
directory and adjust it to your liking.

With some minor changes they probably work on other systemd systems.