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