summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-systemd-start
blob: 6a24ad875357bc2d1fbbfd878375a1ad41a1e42a (plain)
1
2
3
4
5
6
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -d /run/systemd/system ]; then
		systemctl --system daemon-reload >/dev/null || true
		deb-systemd-invoke start #UNITFILES# >/dev/null || true
	fi
fi