[Unit] Description=Beanflows Supervisor - Pipeline Orchestration After=network-online.target Wants=network-online.target [Service] Type=simple User=beanflows_service WorkingDirectory=/opt/beanflows ExecStart=/bin/sh -c 'exec uv run python src/beanflows/supervisor.py' Restart=always RestartSec=10 EnvironmentFile=/opt/beanflows/.env Environment=PATH=/home/beanflows_service/.local/bin:/usr/local/bin:/usr/bin:/bin Environment=LANDING_DIR=/data/beanflows/landing Environment=DUCKDB_PATH=/data/beanflows/lakehouse.duckdb Environment=SERVING_DUCKDB_PATH=/data/beanflows/analytics.duckdb Environment=SUPERVISOR_GIT_PULL=1 # Resource limits LimitNOFILE=65536 # Logging StandardOutput=journal StandardError=journal SyslogIdentifier=beanflows-supervisor [Install] WantedBy=multi-user.target