#!/bin/bash # Let runit capture all script error messages exec 2>&1 <%= render('mount_point_check.erb', cookbook: 'gitlab') %> exec chpst -e <%= @options[:env_directory] %> -P \ -u <%= @options[:user] %>:<%= @options[:groupname] %> \ -U <%= @options[:user] %>:<%= @options[:groupname] %> \ /opt/gitlab/embedded/bin/gitlab-kas --configuration-file <%= @options[:config_file] %>