Skip to content

Systemd scripts #53706

@frodo2000

Description

@frodo2000

Apache Airflow version

3.0.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Due to Airflow version update new scripts were created.
One of them (airflow-api.service) contains bug:

ExecStart=/bin/bash -c 'source /home/airflow/airflow_venv/bin/activate && airflow api'

instead of

ExecStart=/bin/bash -c 'source /home/airflow/airflow_venv/bin/activate && airflow api-server'

Additionally consistency was broken. New scripts contains Environment settings (variables directy specified in service script) instead of EnvironmentFile (which is better approach especially when some additional env are created by Admin), After clause is changed (currently services not waiting for base services like redis, rabbitmq or postgre).

What you think should happen instead?

No response

How to reproduce

Try to execute script airflow-api in systemd environment

Operating System

Ubuntu Linux

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions