Commit 8bd9b1d54c183dbc48fd6903a127444fbe3d52ce
1 parent
17bd9c73
Exists in
master
Document Debian 7 Upstart workaround
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
README.md
| @@ -67,6 +67,19 @@ installing omnibus-gitlab on an unsupported platform. Solution: double check on | @@ -67,6 +67,19 @@ installing omnibus-gitlab on an unsupported platform. Solution: double check on | ||
| 67 | the download page whether you downloaded a package for the correct operating | 67 | the download page whether you downloaded a package for the correct operating |
| 68 | system. | 68 | system. |
| 69 | 69 | ||
| 70 | +#### Debian 7 and Upstart | ||
| 71 | + | ||
| 72 | +Some variants of Debian 7 (e.g. OpenVZ) use Upstart. This will trip up | ||
| 73 | +`gitlab-ctl reconfigure` at `ruby_block[supervise_redis_sleep] action run`, | ||
| 74 | +because the internal Runit cookbook assumes that Debian 7 uses inittab. You can | ||
| 75 | +work around this as follows. | ||
| 76 | + | ||
| 77 | +``` | ||
| 78 | +sudo cp /opt/gitlab/embedded/cookbooks/runit/files/default/gitlab-runsvdir.conf /etc/init/ | ||
| 79 | +sudo initctl start gitlab-runsvdir | ||
| 80 | +sudo gitlab-ctl reconfigure # Resume gitlab-ctl reconfigure | ||
| 81 | +``` | ||
| 82 | + | ||
| 70 | #### TCP ports for GitLab services are already taken | 83 | #### TCP ports for GitLab services are already taken |
| 71 | 84 | ||
| 72 | By default, the services in omnibus-gitlab are using the following TCP ports: | 85 | By default, the services in omnibus-gitlab are using the following TCP ports: |