Files
command-center/omp-docs/tools/ornith-llama-cpp-setup/systemd-service.md
T
Frank 02883d3ed2 docs: rebuild KB in OKF v0.1 with live-verified facts
Copy of the legacy ~/.pi/agent/docs tree rebuilt as the command-center
knowledge base: concept files promoted to path identity, index listings
stripped of frontmatter, all wikilinks/relative links resolved, every
checkable claim verified against the live fleet (Dankserver = Ryzen 7
7700X + RTX 3090; Strix Halo is Dankclaw), unverifiable claims tagged.
kb-lint exits 0.
2026-08-28 07:57:13 -07:00

1.2 KiB

type, title, description, tags, timestamp, verified
type title description tags timestamp verified
howto Running Ornith as a Systemd Service Set up llama.cpp server as a background service with systemd for persistent operation.
unverified
ornith
systemd
service
2026-07-18 2026-08-28

Systemd Service

Using nohup:

nohup ~/GitPackages/llama.cpp/build/bin/llama-server \
  -m ~/models/ornith/ornith-1.0-35b-Q4_K_M.gguf \
  -c 131072 -ngl 12 \
  --host 0.0.0.0 --port 8080 \
  > ~/logs/llama-server.log 2>&1 &

Using systemd (advanced):

Create /etc/systemd/system/llama-server.service:

[Unit]
Description=llama.cpp Server
After=network.target

[Service]
Type=simple
User=dank
ExecStart=/home/dank/GitPackages/llama.cpp/build/bin/llama-server \
  -m /home/dank/models/ornith/ornith-1.0-35b-Q4_K_M.gguf \
  -c 131072 -ngl 12 \
  --host 0.0.0.0 --port 8080
Restart=on-failure
WorkingDirectory=/home/dank/GitPackages/llama.cpp

[Install]
WantedBy=multi-user.target

Then:

sudo systemctl daemon-reload
sudo systemctl enable llama-server
sudo systemctl start llama-server