- Rename src/materia/ → src/beanflows/ (Python package)
- Rename transform/sqlmesh_materia/ → transform/sqlmesh_beanflows/
- Rename infra/supervisor/materia-supervisor.service → beanflows-supervisor.service
- Rename infra/backup/materia-backup.{service,timer} → beanflows-backup.{service,timer}
- Update all path strings: /opt/materia → /opt/beanflows, /data/materia → /data/beanflows
- Update pyproject.toml: project name, CLI entrypoint, workspace source key
- Update all internal imports from materia.* → beanflows.*
- Update infra scripts: REPO_DIR, service names, systemctl references
- Fix docker-compose.prod.yml: /data/materia → /data/beanflows (bind mount path)
Intentionally left unchanged: Pulumi stack name (materia-infrastructure) and
Hetzner resource names ("materia-key", "managed_by: materia") — these reference
live cloud infrastructure and require separate cloud-side renames.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
788 B
Desktop File
30 lines
788 B
Desktop File
[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
|