#!/bin/sh set -e # Automatically added by dh_installinit/13.3.4 if [ -x "/etc/init.d/wb-mqtt-metrics" ] && [ "$1" = remove ]; then invoke-rc.d wb-mqtt-metrics stop || exit 1 fi # End automatically added section # Automatically added by dh_systemd_start/13.3.4 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then deb-systemd-invoke stop 'wb-mqtt-metrics.service' >/dev/null || true fi # End automatically added section