1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-08 22:27:53 +02: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 worker daemon
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 worker
Restart=on-failure
RestartSec=10s
[Install]
WantedBy=multi-user.target