diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2020-12-08 19:37:10 -0800 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-09 03:49:05 +0000 |
commit | 23ffc06d3ddf7c80ebe73a544ca09218225a8627 (patch) | |
tree | 22247b2cb58ee6ffbc819f86f3cc60e02fa5ea72 /debian | |
parent | 8794a7151d23e787fdc7a4410dffc9a89a0cfa74 (diff) | |
download | mongo-23ffc06d3ddf7c80ebe73a544ca09218225a8627.tar.gz |
SERVER-46342 Reload systemd service file on install for deb platforms
This reverts commit 1cd2db51dce4b16f4bc97a75056269df0dc0bddb.
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) |