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