我正在尝试从气流的官方仓库运行这个新贵脚本:https ://github.com/apache/incubator-airflow/blob/master/scripts/upstart/airflow-webserver.conf
start on started networking
stop on (deconfiguring-networking or runlevel [016])
respawn
respawn limit 5 30
setuid airflow
setgid airflow
exec usr/local/bin/airflow webserver
当我运行它时,这是输出:
$ sudo service airflow-webserver start
airflow-webserver start/running, process 7612
$ sudo service airflow-webserver status
airflow-webserver stop/waiting
但是只要做exec /usr/local/bin/airflow webserver
就会完美地运行它而没有任何打嗝,这令人费解。有谁知道为什么会这样?
* 您可以获取气流pip install airflow
进行测试,以防您需要自己查看。