summaryrefslogtreecommitdiff
path: root/rpm/mongodb-org.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/mongodb-org.spec')
-rw-r--r--rpm/mongodb-org.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/mongodb-org.spec b/rpm/mongodb-org.spec
index 4bc3d6f4e48..b32f09e7457 100644
--- a/rpm/mongodb-org.spec
+++ b/rpm/mongodb-org.spec
@@ -202,6 +202,10 @@ if test $1 = 1
then
/usr/bin/systemctl enable mongod
fi
+if test $1 = 2
+then
+ /usr/bin/systemctl daemon-reload
+fi
%preun server
if test $1 = 0