[Unit] Description=Lakehouse-Go pathwayd — Mem0-style versioned trace store Documentation=https://git.agentview.dev/profit/golangLAKEHOUSE After=network-online.target Wants=network-online.target [Service] Type=simple User=lakehouse Group=lakehouse WorkingDirectory=/var/lib/lakehouse ExecStart=/usr/local/bin/lakehouse/pathwayd -config /etc/lakehouse/lakehouse.toml Restart=on-failure RestartSec=5 EnvironmentFile=-/etc/lakehouse/auth.env EnvironmentFile=-/etc/lakehouse/langfuse.env NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true # pathwayd's [pathwayd].persist_path defaults under /var/lib/lakehouse/pathway/ # in production for JSONL append-only persistence. ReadWritePaths=/var/lib/lakehouse /var/log/lakehouse StandardOutput=journal StandardError=journal SyslogIdentifier=lakehouse-pathwayd [Install] WantedBy=lakehouse-go.target