summaryrefslogtreecommitdiff
path: root/debian/mdadm.postinst
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.postinst
parentfbb57805a9f4464bded172510269000f1794201f (diff)
install systemd services
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#