From 6fea0f83d38d680a460a78a7fbc3d5001d90e75c Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 10 Oct 2015 11:13:13 +0530 Subject: [PATCH] app:sanitize: execute `${GITLAB_SHELL_INSTALL_DIR}/bin/create-hooks` Refer #447 --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index de80d21c..86a7bba8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -982,6 +982,9 @@ appSanitize () { echo "Checking tmp directory permissions..." chmod -R u+rwX ${GITLAB_DATA_DIR}/tmp/ chown ${GITLAB_USER}:${GITLAB_USER} -R ${GITLAB_DATA_DIR}/tmp/ + + echo "Creating gitlab-shell hooks..." + sudo -HEu ${GITLAB_USER} ${GITLAB_SHELL_INSTALL_DIR}/bin/create-hooks } appRake () {