Files
dilib_operations/deploy/systemd/dilib-flower.service
T
ms 2c1c48df0c
PostgreSQL integration / tests (push) Has been cancelled
init
2026-11-09 13:15:48 +01:00

21 lines
561 B
Desktop File

[Unit]
Description=Flower with persistent local state
After=network-online.target
[Service]
User=dilib-agent
Group=dilib-agent
WorkingDirectory=/opt/dilib-dashboard
EnvironmentFile=/etc/dilib-agent/flower.env
ExecStart=/opt/dilib-dashboard/.venv-agent/bin/celery --broker=${FLOWER_BROKER_URL} flower --conf=/opt/dilib-dashboard/deploy/flowerconfig.py
Restart=on-failure
RestartSec=5
TimeoutStopSec=60
UMask=0077
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
ReadWritePaths=/var/lib/dilib-flower
[Install]
WantedBy=multi-user.target