summarylogtreecommitdiffstats
path: root/llama.cpp.service
blob: d7bb6978d850acd9bf84dfddab5b3a01f10b26c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Llama.cpp Server
After=network.target llama.cpp.socket
Require=llama.cpp.socket

[Service]
Type=simple
EnvironmentFile=/etc/llama.cpp-service/llama-server.env
ExecStart=/bin/bash -c "source $LLAMA_CONFIG; exec $LLAMA_SERVER_BINARY $LLAMA_SERVER_FLAGS"

[Install]
WantedBy=multi-user.target