summarylogtreecommitdiffstats
path: root/llama.cpp.service
blob: 42593fcbf4ed9be8554248dc78d56b0cc4c48723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Llama.cpp Server
After=network.target llama.cpp.socket
Requires=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