1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/superset/systemd/superset-flower.service

17 lines
423 B
Desktop File

[Unit]
Description=Superset celery flower
After=network.target postgresql.service redis-server.service
Wants=postgresql.service redis-server.service
[Service]
EnvironmentFile=/etc/default/superset
User=superset
Group=superset
Type=simple
ExecStart=/home/superset/.virtualenvs/superset/bin/celery flower --app=superset.tasks.celery_app:app --port=5555
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target