From 94b2a6a014835cc22dfa166c2d81e109904e0910 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 31 Dec 2015 08:54:02 -0500 Subject: [PATCH] Invoke db_stop to ensure underlying services close open file descriptors --- debian/postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/postinst b/debian/postinst index eca64e275..1b1793b8d 100755 --- a/debian/postinst +++ b/debian/postinst @@ -58,6 +58,7 @@ case "$1" in db_get "dokku/web_config" if [ "$RET" = "true" ]; then + db_stop exit 0 fi @@ -86,4 +87,5 @@ case "$1" in ;; esac +db_stop exit 0