summarylogtreecommitdiffstats
path: root/llama.cpp.service
blob: 31e8b6db9bb4fc15353fc6b7fc0672fa300008e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=llama.cpp Server
After=syslog.target network.target local-fs.target remote-fs.target nss-lookup.target

[Service]
Type=simple
EnvironmentFile=/etc/conf.d/llama.cpp
ExecStart=/usr/bin/llama-server $LLAMA_ARGS
ExecReload=/bin/kill -s HUP $MAINPID
Restart=on-failure

[Install]
WantedBy=multi-user.target