File: //var/lib/dpkg/info/watchdog.prerm
#!/bin/sh
set -e
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/watchdog ]; then
rm -f /usr/doc/watchdog
fi
# Automatically added by dh_installsystemd/13
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'wd_keepalive.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'watchdog.service' >/dev/null || true
fi
# End automatically added section