#!/bin/sh
set -e

# Manually added instead of dh_installinit
if [ "$1" = "purge" ] ; then
        update-rc.d hibagent remove >/dev/null || true
fi

# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then
        systemctl --system daemon-reload >/dev/null || true
fi

#DEBHELPER#
