feng-tao closed pull request #4269: [AIRFLOW-3408] Remove outdated info from Systemd Instructions URL: https://github.com/apache/incubator-airflow/pull/4269
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/docs/howto/run-with-systemd.rst b/docs/howto/run-with-systemd.rst index 131fc3ddc0..bbd2235ae4 100644 --- a/docs/howto/run-with-systemd.rst +++ b/docs/howto/run-with-systemd.rst @@ -27,6 +27,5 @@ have been tested on Redhat based systems. You can copy those to based system) you probably need to adjust the unit files. Environment configuration is picked up from ``/etc/sysconfig/airflow``. -An example file is supplied. Make sure to specify the ``SCHEDULER_RUNS`` -variable in this file when you run the scheduler. You +An example file is supplied. You can also define here, for example, ``AIRFLOW_HOME`` or ``AIRFLOW_CONFIG``. diff --git a/scripts/systemd/README b/scripts/systemd/README index c53144a04c..e32df5f52f 100644 --- a/scripts/systemd/README +++ b/scripts/systemd/README @@ -6,6 +6,6 @@ You can then start the different servers by using systemctl start <service>. Ena systemctl enable <service>. By default the environment configuration points to /etc/sysconfig/airflow . You can copy the "airflow" file in this -directory and adjust it to your liking. Make sure to specify the SCHEDULER_RUNS variable. +directory and adjust it to your liking. -With some minor changes they probably work on other systemd systems. \ No newline at end of file +With some minor changes they probably work on other systemd systems. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services