[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 WorkingDirectory=/data/smartbotic-crm ExecStart=/data/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 # Environment Environment="SMARTBOTIC_LLM_ADDRESS=0.0.0.0" Environment="SMARTBOTIC_LLM_PORT=50052" Environment="SMARTBOTIC_LLM_DATABASE_ADDRESS=localhost:50051" Environment="SMARTBOTIC_LLM_LOG_LEVEL=info" [Install] WantedBy=default.target