diff --git a/README.md b/README.md index bf4d44f..9e09efc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ gitlab-recipes ============== -GitLab recipes for setup on different platforms, update etc... \ No newline at end of file +GitLab recipes for setup on different platforms, update etc... + +### Every file should have section with maintainer name & gitlab version: + + # GITLAB + # Maintainer: @randx + # App Version: 2.9 diff --git a/config/init-gitlab b/config/init-gitlab index 26ed11e..7e0559e 100644 --- a/config/init-gitlab +++ b/config/init-gitlab @@ -1,4 +1,9 @@ #! /bin/bash + +# GITLAB +# Maintainer: @randx +# App Version: 2.9 + ### BEGIN INIT INFO # Provides: gitlab # Required-Start: $local_fs $remote_fs $network $syslog redis-server @@ -9,6 +14,7 @@ # Description: GitLab git repository management ### END INIT INFO + APP_ROOT="/home/gitlab/gitlab" DAEMON_OPTS="-c $APP_ROOT/config/unicorn.rb -E production -D" NAME="unicorn" diff --git a/config/nginx-gitlab b/config/nginx-gitlab index fa15d20..d09fc9c 100644 --- a/config/nginx-gitlab +++ b/config/nginx-gitlab @@ -1,3 +1,7 @@ +# GITLAB +# Maintainer: @randx +# App Version: 2.9 + upstream gitlab { server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket; } diff --git a/install/debian_ubuntu.sh b/install/debian_ubuntu.sh index 5ed1e2a..3a67458 100644 --- a/install/debian_ubuntu.sh +++ b/install/debian_ubuntu.sh @@ -1,10 +1,13 @@ #!/bin/sh +# GITLAB +# Maintainer: @randx +# App Version: 2.9 + sudo apt-get update sudo apt-get upgrade -sudo DEBIAN_FRONTEND='noninteractive' apt-get install -y postfix-policyd-spf-python # Install postfix without prompting. -sudo apt-get install -y git git-core wget curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline-gplv2-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server python-dev python-pip libyaml-dev +sudo apt-get install -y git git-core wget curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline-gplv2-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev libicu-dev redis-server openssh-server python-dev python-pip libyaml-dev postfix wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz tar xfvz ruby-1.9.3-p194.tar.gz diff --git a/install/debian_ubuntu_aws.sh b/install/debian_ubuntu_aws.sh index c4103ec..d8aa9c5 100644 --- a/install/debian_ubuntu_aws.sh +++ b/install/debian_ubuntu_aws.sh @@ -1,5 +1,9 @@ #!/bin/sh +# GITLAB +# Maintainer: @dosire +# App Version: 2.9 + # ABOUT # This script performs a complete installation of Gitlab (master branch). # Is can be run with one command without needing _any_ user input after that. @@ -119,4 +123,4 @@ echo "http://`wget -qO- http://instance-data/latest/meta-data/public-hostname`/" echo '' echo 'and login with the following Email and Password:' echo 'admin@local.host' -echo '5iveL!fe' \ No newline at end of file +echo '5iveL!fe'