use tcp for redis

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-15 23:43:54 +05:30
parent 6941764e2a
commit 8f191e58a6

View file

@ -4,8 +4,8 @@
echo "Initializing database..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes'
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:shell:install[v2.6.5] \
REDIS_URL=unix:/var/run/redis/redis.sock \
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:shell:install \
REDIS_URL=redis://localhost:6379 \
SHELL_ROOT_PATH=/usr/share/gitlab-shell RAILS_ENV=production'
echo "Precompiling assets..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'