#!/bin/sh
# Reload systemd after the unit file is gone. Debian equivalent of the RPM
# post_uninstall daemon-reload.
set -e

case "$1" in
    remove|purge|upgrade)
        systemctl daemon-reload >/dev/null 2>&1 || true
        ;;
esac

exit 0
