Merge branch 'pages-mount-point-check' into 'master'

Check mountpoint for gitlab-pages

This prevents to start GitLab Pages daemon before actual mount exist.

Actually the `mountpoint` should be an array of mounts, because as for GitLab.com we have 5 different mountpoints, but we check only a one.

cc @marin 

See merge request !777
This commit is contained in:
Marin Jankovski 2016-05-19 20:46:25 +00:00
commit a53e7a0cd4
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ set -e # fail on errors
# Redirect stderr -> stdout
exec 2>&1
<%= render("mount_point_check.erb") %>
cd <%= node['gitlab']['gitlab-pages']['dir'] %>
exec /opt/gitlab/embedded/bin/gitlab-pages \