summaryrefslogtreecommitdiffstats
path: root/autoscripts/prerm-systemd-restart
blob: 17ee105a98dae9694b1fb6f1cc622de9c8923c46 (plain)
1
2
3
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	deb-systemd-invoke stop #UNITFILES# >/dev/null || true
fi