summaryrefslogtreecommitdiff
path: root/rpm/mongodb-org-unstable.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/mongodb-org-unstable.spec')
-rw-r--r--rpm/mongodb-org-unstable.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/mongodb-org-unstable.spec b/rpm/mongodb-org-unstable.spec
index 7903d7067ab..fe5b3e7c93f 100644
--- a/rpm/mongodb-org-unstable.spec
+++ b/rpm/mongodb-org-unstable.spec
@@ -192,6 +192,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