summaryrefslogtreecommitdiff
path: root/rpm/mongodb-enterprise.spec
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2018-03-19 11:27:51 -0400
committerMathew Robinson <chasinglogic@gmail.com>2018-03-29 09:34:32 -0400
commitabc831b3b8c91b2f1d47777abcb8d205a987e036 (patch)
treef0f1679fadcfb11383f9269a2ee780e18862bf12 /rpm/mongodb-enterprise.spec
parent9413a6067d38d92f9f3978ffefdef4a60dc2bb7c (diff)
downloadmongo-abc831b3b8c91b2f1d47777abcb8d205a987e036.tar.gz
SERVER-33320 Run systemctl daemon-reload on upgrade
Diffstat (limited to 'rpm/mongodb-enterprise.spec')
-rw-r--r--rpm/mongodb-enterprise.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec
index c4476280cf4..6e5a838ac63 100644
--- a/rpm/mongodb-enterprise.spec
+++ b/rpm/mongodb-enterprise.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