summaryrefslogtreecommitdiff
path: root/debian/mdadm.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r--debian/mdadm.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst
index b05dca30..9ef03306 100644
--- a/debian/mdadm.postinst
+++ b/debian/mdadm.postinst
@@ -106,6 +106,8 @@ _eof
;;
esac
+[ -d /run/systemd/system ] && systemctl --system daemon-reload >/dev/null || :
+
# See #369953
set +u
#DEBHELPER#