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:
commit
a53e7a0cd4
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue