From d549bfbb1a93dad8922b3d7ee1b3aa34a4051902 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sat, 15 Dec 2018 13:14:01 +0530 Subject: [PATCH] Restart gitaly before gitlab:check in postinst --- debian/gitlab.postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst index d4cadea9d8..c0b9658f2d 100755 --- a/debian/gitlab.postinst +++ b/debian/gitlab.postinst @@ -336,6 +336,10 @@ esac case "$1" in configure) + if command -v gitaly > /dev/null; then + echo "Restarting gitaly..." + invoke-rc.d gitaly restart + fi echo "Running rake checks..." gitlab-rake gitlab:check ;;