#!/bin/sh set -e # Automatically added by dh_installsystemd/13.14.1ubuntu5 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then deb-systemd-invoke stop 'haproxy.service' >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.14.1ubuntu5 if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/haproxy" ] ; then invoke-rc.d --skip-systemd-native haproxy stop || exit 1 fi # End automatically added section # Automatically added by dh_installdeb/13.14.1ubuntu5 dpkg-maintscript-helper mv_conffile /etc/rsyslog.d/haproxy.conf /etc/rsyslog.d/49-haproxy.conf 1.5.3-2\~ -- "$@" # End automatically added section