summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-systemd-user-reload-only
blob: 8f41121bc1928e4e9a13a7ba20bf164c774a634f (plain)
1
2
3
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --global daemon-reload >/dev/null || true
fi