rake-tasks: "set -e"; cd to "/usr/share/gitlab".

This commit is contained in:
Dmitry Smirnov 2016-09-26 14:49:28 +10:00
parent be299832ee
commit 6f15d802bd

View file

@ -1,7 +1,11 @@
#! /bin/sh
set -e
# Read and export debian specific configuration
# Only exported variables will be passed on to gitlab app
export $(cat /etc/gitlab/gitlab-debian.conf)
cd /usr/share/gitlab
glcheck() {
# Check gitlab is configured correctly