2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 19:44:58 +01:00

add systemd files for airflow+superset

This commit is contained in:
kev
2019-10-17 23:59:58 +08:00
parent 09c0794175
commit 0f395eae21
9 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Airflow celery flower
After=network.target postgresql.service redis-server.service
Wants=postgresql.service redis-server.service
[Service]
EnvironmentFile=/etc/default/airflow
User=airflow
Group=airflow
Type=simple
ExecStart=/home/airflow/.virtualenvs/airflow/bin/airflow flower --port=5555
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target