]> git.pld-linux.org Git - packages/gitlab-ce.git/blame - pld.patch
/etc/gitlab - owned by gitlab-shell
[packages/gitlab-ce.git] / pld.patch
CommitLineData
9502b281
ER
1--- gitlabhq-8.7.5.paths/config/gitlab.yml 2016-05-15 21:30:47.260578333 +0300
2+++ gitlabhq-8.7.5/config/gitlab.yml 2016-05-15 10:55:03.000000000 +0300
c06de8c3
ER
3@@ -56,7 +56,7 @@
4 #- 2001:0db8::/32
5
6 # Uncomment and customize if you can't use the default user to run GitLab (default: 'git')
7- # user: git
8+ user: git
9
10 ## Date & Time settings
11 # Uncomment and customize if you want to change the default time zone of GitLab application.
12@@ -412,7 +412,7 @@
13 # least. This setting is fed to 'rm -rf' in
14 # db/migrate/20151023144219_remove_satellites.rb
15 satellites:
16- path: /home/git/gitlab-satellites/
17+ path: /var/lib/gitlab/satellites/
18
19 ## Backup settings
20 backup:
9502b281 21@@ -437,15 +437,15 @@
c06de8c3
ER
22
23 ## GitLab Shell settings
24 gitlab_shell:
25- path: /home/git/gitlab-shell/
26+ path: /usr/share/gitlab-shell/
27
28 # REPOS_PATH MUST NOT BE A SYMLINK!!!
29- repos_path: /home/git/repositories/
30- hooks_path: /home/git/gitlab-shell/hooks/
31+ repos_path: /var/lib/gitlab/repositories/
32+ hooks_path: /usr/share/gitlab-shell/hooks/
33
34 # File that contains the secret key for verifying access for gitlab-shell.
35 # Default is '.gitlab_shell_secret' relative to Rails.root (i.e. root of the GitLab app).
9502b281
ER
36- # secret_file: /home/git/gitlab/.gitlab_shell_secret
37+ secret_file: /etc/gitlab/.gitlab_shell_secret
38
39 # Git over HTTP
40 upload_pack: true
c06de8c3
ER
41--- gitlabhq-8.7.5/config/unicorn.rb 2016-05-12 17:35:19.000000000 +0300
42+++ gitlabhq-8.7.5.paths/config/unicorn.rb 2016-05-15 21:30:47.263911838 +0300
43@@ -33,12 +33,12 @@
44
45 # Help ensure your application will always spawn in the symlinked
46 # "current" directory that Capistrano sets up.
47-working_directory "/home/git/gitlab" # available in 0.94.0+
48+working_directory "/var/lib/gitlab" # available in 0.94.0+
49
50 # Listen on both a Unix domain socket and a TCP port.
51 # If you are load-balancing multiple Unicorn masters, lower the backlog
52 # setting to e.g. 64 for faster failover.
53-listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 1024
54+listen "/run/gitlab/gitlab.socket", :backlog => 1024
55 listen "127.0.0.1:8080", :tcp_nopush => true
56
57 # nuke workers after 30 seconds instead of 60 seconds (the default)
58@@ -59,13 +59,13 @@
59 timeout 60
60
61 # feel free to point this anywhere accessible on the filesystem
62-pid "/home/git/gitlab/tmp/pids/unicorn.pid"
63+pid "/run/gitlab/unicorn.pid"
64
65 # By default, the Unicorn logger will write to stderr.
66 # Additionally, some applications/frameworks log to stderr or stdout,
67 # so prevent them from going to /dev/null when daemonized here:
68-stderr_path "/home/git/gitlab/log/unicorn.stderr.log"
69-stdout_path "/home/git/gitlab/log/unicorn.stdout.log"
70+stderr_path "/var/lib/gitlab/log/unicorn.stderr.log"
71+stdout_path "/var/lib/gitlab/log/unicorn.stdout.log"
72
73 # combine Ruby 2.0.0dev or REE with "preload_app true" for memory savings
74 # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow
e3e185ca
ER
75--- gitlabhq-8.7.5/config/database.yml.mysql 2016-05-12 17:35:19.000000000 +0300
76+++ gitlabhq-8.7.5/config/database.yml 2016-04-17 13:53:42.000000000 +0300
77@@ -8,8 +8,8 @@
78 reconnect: false
79 database: gitlabhq_production
80 pool: 10
81- username: git
82- password: "secure password"
83+ username: mysql
84+ password: ~
85 # host: localhost
86 # socket: /tmp/mysql.sock
87
88@@ -23,8 +23,8 @@
89 reconnect: false
90 database: gitlabhq_development
91 pool: 5
92- username: root
93- password: "secure password"
94+ username: mysql
95+ password: ~
96 # socket: /tmp/mysql.sock
97
98 # Warning: The database defined as "test" will be erased and
This page took 0.081187 seconds and 4 git commands to generate.