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=never [Install] WantedBy=multi-user.target