Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rssanders3/6e284f86b08d3d2b1b527b78aaafad4d to your computer and use it in GitHub Desktop.
Save rssanders3/6e284f86b08d3d2b1b527b78aaafad4d to your computer and use it in GitHub Desktop.
cd airflow-{AIRFLOW_VERSION}/scripts/systemd/
# Update the contents of the airflow file.
# Set the AIRFLOW_HOME if its anything other then the default
vi airflow
# Copy the airflow property file to the target location
cp airflow /etc/sysconfig/
# Update the contents of the airflow-*.service files
# Set the User and Group values to the user and group you want the airflow service to run as
vi airflow-*.service
# Copy the airflow services files to the target location
cp airflow-*.service /etc/systemd/system/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment