diff options
author | Mathew Robinson <mathew@chasinglogic.io> | 2020-02-27 08:57:24 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-28 19:29:33 +0000 |
commit | 0690089e24d1ae398b3cafc348a0b9c9f5f24527 (patch) | |
tree | 59bacd33599f31462b6ac928b0cf7833146025f4 /debian/mongodb-org-server.postinst | |
parent | b010a99fc6f76596844d8fb958e55733fea77c1e (diff) | |
download | mongo-0690089e24d1ae398b3cafc348a0b9c9f5f24527.tar.gz |
SERVER-46342 Reload systemd service file on install for deb platforms
Diffstat (limited to 'debian/mongodb-org-server.postinst')
-rw-r--r-- | debian/mongodb-org-server.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
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) |