diff options
-rw-r--r-- | rpm/mongodb-enterprise-unstable.spec | 5 | ||||
-rw-r--r-- | rpm/mongodb-enterprise.spec | 4 | ||||
-rw-r--r-- | rpm/mongodb-org-unstable.spec | 4 | ||||
-rw-r--r-- | rpm/mongodb-org.spec | 4 |
4 files changed, 17 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 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 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 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 |