mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
17 lines
378 B
Desktop File
17 lines
378 B
Desktop File
[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
|