Commit 5e28710692dd1eb872b6c25e674c81c0593ed0ac
1 parent
5857a7a9
Exists in
master
and in
4 other branches
remove hardcoded app_dir from unicorn.rb.example
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/unicorn.rb.example
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | # note that config/gitlab.yml web path should also be changed | 2 | # note that config/gitlab.yml web path should also be changed |
| 3 | # ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" | 3 | # ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" |
| 4 | 4 | ||
| 5 | -app_dir = "/home/gitlab/gitlab/" | 5 | +app_dir = File.expand_path '../../', __FILE__ |
| 6 | worker_processes 2 | 6 | worker_processes 2 |
| 7 | working_directory app_dir | 7 | working_directory app_dir |
| 8 | 8 |