summaryrefslogtreecommitdiffstats
path: root/debian/ceph-mgr-cephadm.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ceph-mgr-cephadm.postinst')
-rw-r--r--debian/ceph-mgr-cephadm.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/ceph-mgr-cephadm.postinst b/debian/ceph-mgr-cephadm.postinst
new file mode 100644
index 000000000..18731dd07
--- /dev/null
+++ b/debian/ceph-mgr-cephadm.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = "configure" ] || [ "$1" = "reconfigure" ] ; then
+ deb-systemd-invoke try-restart ceph-mgr.target
+fi
+
+#DEBHELPER#
+
+exit 0