更新时间:2023-11-04 19:13:34
尝试使用nohup. https://en.wikipedia.org/wiki/Nohup
try using nohup. https://en.wikipedia.org/wiki/Nohup
nohup气流计划程序> scheduler.log&
在您的情况下,您将更新入口点,如下所示:
in your case, you would update your entrypoint as follows:
if [ $SERVICE == "airflow" ]; then
airflow initdb
nohup airflow scheduler > scheduler.log &
nohup airflow webserver
fi