blob: 5b84939107981516d94d2a23aa88f2870bbd1047 (
plain)
1
2
3
4
5
6
|
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
systemctl --global daemon-reload >/dev/null || true
deb-systemd-invoke --user restart #UNITFILES# >/dev/null || true
fi
fi
|