summaryrefslogtreecommitdiff
path: root/debian/mdadm.postrm
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2014-10-04 20:05:20 +0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-10-04 20:32:00 +0400
commit61c54b388ce54b8129d039aa6d422aaca0dd0e77 (patch)
treec7e3f309f7a09de300211149d96db7747e30539a /debian/mdadm.postrm
parentfbb57805a9f4464bded172510269000f1794201f (diff)
install systemd services
Diffstat (limited to 'debian/mdadm.postrm')
-rw-r--r--debian/mdadm.postrm2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/mdadm.postrm b/debian/mdadm.postrm
index 80591a76..ea6a0baa 100644
--- a/debian/mdadm.postrm
+++ b/debian/mdadm.postrm
@@ -16,6 +16,8 @@ case "${1:-}" in
esac
+[ -d /run/systemd/system ] && systemctl --system daemon-reload >/dev/null || :
+
# just in case somebody actually purges mdadm, we need this to make debconf
# (added by dh_installdebconf) behave. See #369953
set +u