| 123456789101112131415161718192021222324252627282930313233 |
- [Unit]
- Description=SmartBotic CRM LLM Service
- Documentation=https://github.com/smartbotic/smartbotic-crm
- After=network.target smartbotic-database.service
- Requires=smartbotic-database.service
- [Service]
- Type=simple
- User=%i
- Group=%i
- WorkingDirectory=/opt/smartbotic-crm
- ExecStart=/opt/smartbotic-crm/build/llm/smartbotic-crm-llm
- Restart=on-failure
- RestartSec=5
- StandardOutput=journal
- StandardError=journal
- # Shutdown timeout - send SIGKILL after 10 seconds if graceful shutdown fails
- TimeoutStopSec=10
- # Security hardening
- NoNewPrivileges=true
- ProtectSystem=strict
- ProtectHome=true
- PrivateTmp=true
- # Environment
- Environment="SMARTBOTIC_LLM_ADDRESS=0.0.0.0"
- Environment="SMARTBOTIC_LLM_PORT=50052"
- Environment="SMARTBOTIC_LLM_DATABASE_ADDRESS=localhost:50151"
- Environment="SMARTBOTIC_LLM_LOG_LEVEL=info"
- [Install]
- WantedBy=multi-user.target
|