I am using airflow for my data pipeline project. I have configured my project in airflow and start the airflow server as a backend process using following command
None of these worked for me. I had to delete the $AIRFLOW_HOME/airflow-webserver.pid
file and then running airflow webserver
worked.
Just run:
airflow webserver -p 8080 -D
Create a init script and use the command "daemon" to run this as service.
daemon --user="${USER}" --pidfile="${PID_FILE}" airflow webserver -p 8090 >> "${LOG_FILE}" 2>&1 &