#!/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
