I have an EC2 instance that is running airflow 1.8.0 using LocalExecutor. Per the docs I would have expected that one of the following two commands would have raise
About task start via systemd:
I had a problem with the PATH variable when run this way is initially empty. That is, when you write to the file /etc/sysconfig/airflow:
PATH=/home/ubuntu/bin:/home/ubuntu/.local/bin:$PATH
you literally write:
PATH=/home/ubuntu/bin:/home/ubuntu/.local/bin
Thus, the variable PATH doesn't contain /bin which is a bash utility that LocalExecutor uses to run tasks.
So I do not understand why in this file you have not specified AIRFLOW_HOME. That is, the directory in which the Airflow is looking for its configuration file.