smartbotic-llm.service 726 B

12345678910111213141516171819202122232425
  1. [Unit]
  2. Description=SmartBotic CRM LLM Service
  3. Documentation=https://github.com/smartbotic/smartbotic-crm
  4. After=network.target smartbotic-database.service
  5. Requires=smartbotic-database.service
  6. [Service]
  7. Type=simple
  8. WorkingDirectory=/data/smartbotic-crm
  9. ExecStart=/data/smartbotic-crm/build/llm/smartbotic-crm-llm
  10. Restart=on-failure
  11. RestartSec=5
  12. StandardOutput=journal
  13. StandardError=journal
  14. # Shutdown timeout - send SIGKILL after 10 seconds if graceful shutdown fails
  15. TimeoutStopSec=10
  16. # Environment
  17. Environment="SMARTBOTIC_LLM_ADDRESS=0.0.0.0"
  18. Environment="SMARTBOTIC_LLM_PORT=50052"
  19. Environment="SMARTBOTIC_LLM_DATABASE_ADDRESS=localhost:50051"
  20. Environment="SMARTBOTIC_LLM_LOG_LEVEL=info"
  21. [Install]
  22. WantedBy=default.target