Created
June 27, 2020 09:22
-
-
Save kahirul/b38ca3e89ca6b3f58ae5a9b23b92bc3f to your computer and use it in GitHub Desktop.
Revisions
-
kahirul created this gist
Jun 27, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ [Unit] Description=Airflow scheduler daemon After=network.target [Service] EnvironmentFile=/etc/environment User=ubuntu Group=ubuntu Type=simple ExecStart=/bin/bash -c 'source /home/ubuntu/.miniconda3/etc/profile.d/conda.sh && conda activate airflow && airflow scheduler' KillMode=process Restart=always RestartSec=5s PrivateTmp=true [Install] WantedBy=multi-user.target