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-unstable.spec | |
parent | 9413a6067d38d92f9f3978ffefdef4a60dc2bb7c (diff) | |
download | mongo-abc831b3b8c91b2f1d47777abcb8d205a987e036.tar.gz |
SERVER-33320 Run systemctl daemon-reload on upgrade
Diffstat (limited to 'rpm/mongodb-enterprise-unstable.spec')
-rw-r--r-- | rpm/mongodb-enterprise-unstable.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec index 16b32774eeb..90a974fa79e 100644 --- a/rpm/mongodb-enterprise-unstable.spec +++ b/rpm/mongodb-enterprise-unstable.spec @@ -194,6 +194,11 @@ 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 |