gear: Add llama.service
This commit is contained in:
parent
96edf3d3d6
commit
c708ba46dc
1 changed files with 14 additions and 0 deletions
14
.gear/llama.service
Normal file
14
.gear/llama.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Llama.cpp server, CPU only (no GPU support in this build).
|
||||
After=syslog.target network.target local-fs.target remote-fs.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
DynamicUser=true
|
||||
EnvironmentFile=/etc/sysconfig/llama
|
||||
ExecStart=%_bindir/llama-server $LLAMA_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=never
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue