You've already forked dockerfiles
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:
16
airflow/systemd/airflow-worker.service
Normal file
16
airflow/systemd/airflow-worker.service
Normal 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
|
Reference in New Issue
Block a user