mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 10:04:42 +02:00
25 lines
574 B
Django/Jinja
25 lines
574 B
Django/Jinja
[Unit]
|
|
Description=LiteLLM Proxy — unified LLM gateway (Qwen local + Claude API)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ litellm_user }}
|
|
Group={{ litellm_user }}
|
|
|
|
Environment=ANTHROPIC_API_KEY={{ litellm_anthropic_api_key }}
|
|
|
|
ExecStart={{ litellm_venv }}/bin/litellm \
|
|
--config {{ litellm_config_dir }}/config.yaml \
|
|
--host {{ litellm_host }} \
|
|
--port {{ litellm_port }}
|
|
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=litellm
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|