.gear/llama.service: Make config optional

Also, remove the full path from the executable name.
And yes it's not installed, yet.

Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
Vitaly Chikunov 2025-03-08 04:45:33 +03:00
parent 3b1e713459
commit 4edbfcac94

View file

@ -5,8 +5,8 @@ After=syslog.target network.target local-fs.target remote-fs.target nss-lookup.t
[Service]
Type=simple
DynamicUser=true
EnvironmentFile=/etc/sysconfig/llama
ExecStart=%_bindir/llama-server $LLAMA_ARGS
EnvironmentFile=-/etc/sysconfig/llama
ExecStart=llama-server $LLAMA_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=never