From 905a165d133c571c8701e08b4b9fa0c087b30a7f Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 21 May 2019 16:55:48 +0200
Subject: [PATCH] postgresql cannot be restarted as service in docker container

---
 gitlab-ci-policy-rc.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitlab-ci-policy-rc.d b/gitlab-ci-policy-rc.d
index 319de32fd8..0cf6dac1a4 100644
--- a/gitlab-ci-policy-rc.d
+++ b/gitlab-ci-policy-rc.d
@@ -6,7 +6,7 @@
 
 echo "policy-rc.d for " $1
 
-if [ "$1" = "tomcat7" ] || [ "$1" = "tomcat8" ];
+if [ "$1" = "tomcat7" ] || [ "$1" = "tomcat8" ] || [ "$1" = "postgresql" ];
 then
         exit 101
 fi
-- 
GitLab