diff options
author | Mathew Robinson <chasinglogic@gmail.com> | 2018-03-19 11:27:51 -0400 |
---|---|---|
committer | Mathew Robinson <chasinglogic@gmail.com> | 2018-03-29 09:34:32 -0400 |
commit | abc831b3b8c91b2f1d47777abcb8d205a987e036 (patch) | |
tree | f0f1679fadcfb11383f9269a2ee780e18862bf12 /rpm/mongodb-enterprise.spec | |
parent | 9413a6067d38d92f9f3978ffefdef4a60dc2bb7c (diff) | |
download | mongo-abc831b3b8c91b2f1d47777abcb8d205a987e036.tar.gz |
SERVER-33320 Run systemctl daemon-reload on upgrade
Diffstat (limited to 'rpm/mongodb-enterprise.spec')
-rw-r--r-- | rpm/mongodb-enterprise.spec | 4 |
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 |