Reputation: 633
Is there any way to safely restart Airflow webserver and/or scheduler on a server?
I am connecting to the server itself through the SSH.
When restarting webserver I just kill the process in the specific port. Not sure how to do this for scheduler.
Maybe there is some option to run both webserver and scheduler in a way allowing to keep control on them (restart, stop and so on)?
Upvotes: 1
Views: 12805
Reputation: 8273
If tied to systemctl
you can restart the webserver as
sudo systemctl restart airflow-webserver
Upvotes: 1