service-llm-private/deploy/ollama-webapp.service
ValueOn AG 3527e5b135 ssl
2026-02-06 14:16:12 +01:00

15 lines
456 B
Desktop File

[Unit]
Description=PowerOn Private-LLM Service
After=network.target
[Service]
Type=simple
User=ubuntu
WorkingDirectory=/opt/ollama-webapp/app
ExecStart=/opt/ollama-webapp/venv/bin/uvicorn app:app --host 0.0.0.0 --port 8000 --ssl-keyfile /etc/letsencrypt/live/llm.poweron.swiss/privkey.pem --ssl-certfile /etc/letsencrypt/live/llm.poweron.swiss/fullchain.pem
Restart=always
RestartSec=5
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target