You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/02 15:53:27 UTC

[GitHub] [airflow] Zacharyr41 commented on issue #11309: FileNotFoundError: [Errno 2] No such file or directory: 'airflow': 'airflow'

Zacharyr41 commented on issue #11309:
URL: https://github.com/apache/airflow/issues/11309#issuecomment-891136281


   > @ajays1991 here is the full systemd file contents:
   > 
   > ```
   > [Unit]
   > Description=Airflow scheduler daemon
   > After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service
   > Wants=postgresql.service mysql.service redis.service rabbitmq-server.service
   > 
   > [Service]
   > Environment="PATH=/home/ubuntu/miniconda3/envs/data_analysis_lab/bin:$PATH:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
   > EnvironmentFile=/home/ubuntu/notebooks/airflow/airflow
   > WorkingDirectory=/home/ubuntu/notebooks
   > User=ubuntu
   > Group=ubuntu
   > Type=simple
   > ExecStart=/home/ubuntu/miniconda3/envs/data_analysis_lab/bin/airflow scheduler
   > Restart=always
   > RestartSec=5s
   > 
   > [Install]
   > WantedBy=multi-user.target
   > ```
   
   This may be a silly question, but where can I edit this systemd file contents?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org