File: //var/lib/dpkg/info/courier-authdaemon.prerm
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/13.3.4ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'courier-authdaemon.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installinit/13.3.4ubuntu1
if [ -x "/etc/init.d/courier-authdaemon" ] && [ "$1" = remove ]; then
invoke-rc.d --skip-systemd-native courier-authdaemon stop || exit 1
fi
# End automatically added section