summarylogtreecommitdiffstats
path: root/llama.cpp-git.install
blob: f81b6b1a5dc4e7b6b71d8c31daae6fa43ffd2a8a (plain)
1
2
3
4
5
6
7
8
9
post_upgrade() {
  if systemctl --quiet is-active llama.cpp.service; then
    systemctl restart llama.cpp.service
  fi
}

pre_remove() {
  systemctl disable --now llama.cpp.service >/dev/null 2>&1 || true
}