Files
anyllm-proxy/packaging/prerm

14 lines
233 B
Bash
Executable File

#!/bin/sh
set -e
case "$1" in
remove|deconfigure)
if [ -d /run/systemd/system ]; then
systemctl stop anyllm-proxy || true
systemctl disable anyllm-proxy || true
fi
;;
esac
exit 0