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


   @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 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