29 lines
965 B
Plaintext
29 lines
965 B
Plaintext
# Automatically added by dh_installdeb/13.24.2
|
|
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
|
|
# End automatically added section
|
|
# Automatically added by dh_installsystemd/13.24.2
|
|
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
fi
|
|
# End automatically added section
|
|
# Automatically added by dh_installsystemd/13.24.2
|
|
if [ "$1" = "purge" ]; then
|
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
|
deb-systemd-helper purge 'smokeping.service' >/dev/null || true
|
|
fi
|
|
fi
|
|
# End automatically added section
|
|
# Automatically added by dh_apache2/UNDECLARED
|
|
if [ "$1" = "purge" ] ; then
|
|
if true; then
|
|
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
|
|
. /usr/share/apache2/apache2-maintscript-helper
|
|
|
|
for conf in smokeping ; do
|
|
apache2_invoke disconf $conf || exit 1
|
|
done
|
|
fi
|
|
fi
|
|
fi
|
|
# End automatically added section
|