mirror of
https://github.com/Heretek-AI/heretek-openclaw.git
synced 2026-07-19 20:53:34 -04:00
c2f8465a83
P6-7: Agent File Completion (34 files - 11 agents × 3 files + guides) - Added BOOTSTRAP.md, IDENTITY.md, TOOLS.md for all 11 agents - Created AGENT_CREATION_GUIDE.md P6-2: Per-Agent Model Configuration (9 files) - Agent model router and config library - YAML configs for arbiter, coder agents - Configuration documentation P6-3: Health Check Dashboard (20+ files) - Complete frontend React application - API endpoints, WebSocket server - Collectors for agents, resources, services - Alert management and configuration P6-4: LiteLLM Observability Integration (10 files) - LiteLLM metrics collector and API - Frontend components for model/budget tracking - Integration documentation P6-1: Non-Docker Deployment (16 files) - Bare metal and VM deployment docs - Systemd service files - Installation scripts for Ubuntu/RHEL - Migration guide and troubleshooting P6-6: Cloud-Native Deployments (45+ files) - AWS, Azure, GCP Terraform configurations - Kubernetes base deployments with Kustomize overlays - Cloud deployment documentation P6-5: Unified Deployment CLI (28 files) - Complete CLI with 12 commands - Deployers for Docker, Kubernetes, cloud, baremetal - Health checker, backup manager, config manager P6-8: Plugin Installation Guide (15 files) - Plugin development and installation guides - Plugin CLI documentation and registry - Templates for basic, skill, and tool plugins
49 lines
1.1 KiB
Desktop File
49 lines
1.1 KiB
Desktop File
[Unit]
|
|
Description=PostgreSQL RDBMS with pgvector
|
|
Documentation=https://www.postgresql.org/docs/
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=postgres
|
|
Group=postgres
|
|
|
|
# Environment configuration
|
|
Environment="PGDATA=/var/lib/postgresql/15/main"
|
|
Environment="PGVERSION=15"
|
|
|
|
# Working directory
|
|
WorkingDirectory=/var/lib/postgresql
|
|
|
|
# Main execution
|
|
ExecStart=/usr/lib/postgresql/15/bin/pg_ctl -D /var/lib/postgresql/15/main -o "-c config_file=/etc/postgresql/15/main/postgresql.conf" start
|
|
ExecReload=/usr/lib/postgresql/15/bin/pg_ctl -D /var/lib/postgresql/15/main reload
|
|
ExecStop=/usr/lib/postgresql/15/bin/pg_ctl -D /var/lib/postgresql/15/main -m fast stop
|
|
|
|
# Restart configuration
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
# Timeout for startup
|
|
TimeoutSec=300
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=read-only
|
|
PrivateTmp=true
|
|
|
|
# Allow write access to PostgreSQL directories
|
|
ReadWritePaths=/var/lib/postgresql
|
|
ReadWritePaths=/var/log/postgresql
|
|
ReadWritePaths=/run/postgresql
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=postgresql
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|