diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2020-12-08 10:06:19 -0800 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-08 22:13:39 +0000 |
commit | 7feae2d6b3d8307a8ea47ea17764d827811e7c69 (patch) | |
tree | 681050c64026fb6fe56e467a95b1509796be17e3 /debian | |
parent | a5fdda63afb540beca3743051666856fc05e3fbf (diff) | |
download | mongo-7feae2d6b3d8307a8ea47ea17764d827811e7c69.tar.gz |
SERVER-46342 Reload systemd service file on install for deb platforms
This reverts commit 0ed9f1bf7d27e43174ce806291a597947b1f98ae.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/mongodb-enterprise-server.postinst | 3 | ||||
-rw-r--r-- | debian/mongodb-enterprise-unstable-server.postinst | 3 | ||||
-rw-r--r-- | debian/mongodb-org-server.postinst | 3 | ||||
-rw-r--r-- | debian/mongodb-org-unstable-server.postinst | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/debian/mongodb-enterprise-server.postinst b/debian/mongodb-enterprise-server.postinst index 52761cd3e3f..40f5976c044 100644 --- a/debian/mongodb-enterprise-server.postinst +++ b/debian/mongodb-enterprise-server.postinst @@ -38,6 +38,9 @@ case "$1" in mkdir -p /var/log/mongodb chown mongodb:mongodb /var/log/mongodb fi + + # Check for changes to the service file + systemctl daemon-reload ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/mongodb-enterprise-unstable-server.postinst b/debian/mongodb-enterprise-unstable-server.postinst index 52761cd3e3f..40f5976c044 100644 --- a/debian/mongodb-enterprise-unstable-server.postinst +++ b/debian/mongodb-enterprise-unstable-server.postinst @@ -38,6 +38,9 @@ case "$1" in mkdir -p /var/log/mongodb chown mongodb:mongodb /var/log/mongodb fi + + # Check for changes to the service file + systemctl daemon-reload ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/mongodb-org-server.postinst b/debian/mongodb-org-server.postinst index 52761cd3e3f..40f5976c044 100644 --- a/debian/mongodb-org-server.postinst +++ b/debian/mongodb-org-server.postinst @@ -38,6 +38,9 @@ case "$1" in mkdir -p /var/log/mongodb chown mongodb:mongodb /var/log/mongodb fi + + # Check for changes to the service file + systemctl daemon-reload ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/mongodb-org-unstable-server.postinst b/debian/mongodb-org-unstable-server.postinst index 52761cd3e3f..40f5976c044 100644 --- a/debian/mongodb-org-unstable-server.postinst +++ b/debian/mongodb-org-unstable-server.postinst @@ -38,6 +38,9 @@ case "$1" in mkdir -p /var/log/mongodb chown mongodb:mongodb /var/log/mongodb fi + + # Check for changes to the service file + systemctl daemon-reload ;; abort-upgrade|abort-remove|abort-deconfigure) |