Commit 54527902 authored by Richard Weinhold's avatar Richard Weinhold 🎩

services updated

parent ca7032a7
#!/bin/bash
########################################################################
#
# 2014-06-27
# 2014-08-07
# Gabriel Bretschner
# info@kanedo.net
#
......@@ -28,10 +28,12 @@
#
########################################################################
#
# path to gitlab installation
#
GITLAB_PATH=$HOME/gitlab
# Now let's go!
export RAILS_ENV="production"
export GITLAB_PATH="$HOME/gitlab"
cd $GITLAB_PATH/
app_root=$(pwd)
unicorn_config="$app_root/config/unicorn.rb"
cd $GITLAB_PATH
bundle exec unicorn_rails -c "$GITLAB_PATH/config/unicorn.rb" -E "production"
\ No newline at end of file
exec bundle exec unicorn_rails -c $unicorn_config -E $RAILS_ENV 2>&1
\ No newline at end of file
......@@ -33,4 +33,4 @@ sidekiq_logfile="$app_root/log/sidekiq.log"
cd $app_root
# Now let's go!
bundle exec sidekiq -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e $RAILS_ENV -P $sidekiq_pidfile $@ >> $sidekiq_logfile 2>&1
bundle exec sidekiq -q post_receive -q mailer -q system_hook -q project_web_hook -q gitlab_shell -q common -q default -e $RAILS_ENV -P $sidekiq_pidfile >> $sidekiq_logfile 2>&1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment