frodo2000 opened a new issue, #53706:
URL: https://github.com/apache/airflow/issues/53706

   ### 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
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to