Commit f0c4e94d7406cb30c77b1f3dd20f541a9398588a
1 parent
97a4e1b8
Exists in
master
and in
4 other branches
Move checks after init script installation in docs
Showing
1 changed file
with
13 additions
and
13 deletions
Show diff stats
doc/install/installation.md
| @@ -270,6 +270,18 @@ used for the `email.from` setting in `config/gitlab.yml`) | @@ -270,6 +270,18 @@ used for the `email.from` setting in `config/gitlab.yml`) | ||
| 270 | sudo -u gitlab -H bundle exec rake gitlab:app:setup RAILS_ENV=production | 270 | sudo -u gitlab -H bundle exec rake gitlab:app:setup RAILS_ENV=production |
| 271 | 271 | ||
| 272 | 272 | ||
| 273 | +## Install Init Script | ||
| 274 | + | ||
| 275 | +Download the init script (will be /etc/init.d/gitlab): | ||
| 276 | + | ||
| 277 | + sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab -P /etc/init.d/ | ||
| 278 | + sudo chmod +x /etc/init.d/gitlab | ||
| 279 | + | ||
| 280 | +Make GitLab start on boot: | ||
| 281 | + | ||
| 282 | + sudo update-rc.d gitlab defaults 21 | ||
| 283 | + | ||
| 284 | + | ||
| 273 | ## Check Application Status | 285 | ## Check Application Status |
| 274 | 286 | ||
| 275 | Check if GitLab and its environment is configured correctly: | 287 | Check if GitLab and its environment is configured correctly: |
| @@ -283,19 +295,7 @@ To make sure you didn't miss anything run a more thorough check with: | @@ -283,19 +295,7 @@ To make sure you didn't miss anything run a more thorough check with: | ||
| 283 | If all items are green, then congratulations on successfully installing GitLab! | 295 | If all items are green, then congratulations on successfully installing GitLab! |
| 284 | However there are still a few steps left. | 296 | However there are still a few steps left. |
| 285 | 297 | ||
| 286 | -## Install Init Script | ||
| 287 | - | ||
| 288 | -Download the init script (will be /etc/init.d/gitlab): | ||
| 289 | - | ||
| 290 | - sudo wget https://raw.github.com/gitlabhq/gitlab-recipes/master/init.d/gitlab -P /etc/init.d/ | ||
| 291 | - sudo chmod +x /etc/init.d/gitlab | ||
| 292 | - | ||
| 293 | -Make GitLab start on boot: | ||
| 294 | - | ||
| 295 | - sudo update-rc.d gitlab defaults 21 | ||
| 296 | - | ||
| 297 | - | ||
| 298 | -Start your GitLab instance: | 298 | +## Start Your GitLab Instance |
| 299 | 299 | ||
| 300 | sudo service gitlab start | 300 | sudo service gitlab start |
| 301 | # or | 301 | # or |