#!/bin/sh
set -e

SERVICE=rustdesk-hbbr.service

case "$1" in
    remove|deconfigure)
	  deb-systemd-invoke stop "${SERVICE}" >/dev/null || true
	  deb-systemd-invoke disable "${SERVICE}" >/dev/null || true
	;;
esac

exit 0
