【发布时间】:2017-11-14 17:00:37
【问题描述】:
问题:我正在 GCP 上设置一个 Google Compute Engine VM,上面安装了airflow。我现在尝试按照http://airflow.readthedocs.io/en/latest/configuration.html#integration-with-systemd 上的说明将airflow 与systemd 集成,但是它假设Airflow 将在airflow:airflow 下运行。
我如何设置气流安装,以便当该 VM 上的任何用户从 shell 运行 airflow 时,它在后端以 airflow 用户身份运行。类似于在 hive 用户下运行的 hive 进程。
虚拟机上的操作系统:CentOS 7
【问题讨论】:
标签: google-cloud-platform centos7 airflow apache-airflow