summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRyan Egesdahl <ryan.egesdahl@mongodb.com>2020-12-08 10:06:19 -0800
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-08 22:13:39 +0000
commit7feae2d6b3d8307a8ea47ea17764d827811e7c69 (patch)
tree681050c64026fb6fe56e467a95b1509796be17e3 /debian
parenta5fdda63afb540beca3743051666856fc05e3fbf (diff)
downloadmongo-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.postinst3
-rw-r--r--debian/mongodb-enterprise-unstable-server.postinst3
-rw-r--r--debian/mongodb-org-server.postinst3
-rw-r--r--debian/mongodb-org-unstable-server.postinst3
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)