Commit e3845529c9832a620323641d5f529e04881f04c1

Authored by Dmitriy Zaporozhets
2 parents eb2c1cd2 5d7954b5

Merge pull request #634 from abevoelker/update-init-script

Add redis-server init.d dependency - fixes #598
Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
doc/installation.md
@@ -261,13 +261,13 @@ Create init script in /etc/init.d/gitlab: @@ -261,13 +261,13 @@ Create init script in /etc/init.d/gitlab:
261 261
262 #! /bin/bash 262 #! /bin/bash
263 ### BEGIN INIT INFO 263 ### BEGIN INIT INFO
264 - # Provides: unicorn  
265 - # Required-Start: $local_fs $remote_fs $network $syslog 264 + # Provides: gitlab
  265 + # Required-Start: $local_fs $remote_fs $network $syslog redis-server
266 # Required-Stop: $local_fs $remote_fs $network $syslog 266 # Required-Stop: $local_fs $remote_fs $network $syslog
267 # Default-Start: 2 3 4 5 267 # Default-Start: 2 3 4 5
268 # Default-Stop: 0 1 6 268 # Default-Stop: 0 1 6
269 - # Short-Description: starts the unicorn web server  
270 - # Description: starts unicorn 269 + # Short-Description: GitLab git repository management
  270 + # Description: GitLab git repository management
271 ### END INIT INFO 271 ### END INIT INFO
272 272
273 DAEMON_OPTS="-c /home/gitlab/gitlab/config/unicorn.rb -E production -D" 273 DAEMON_OPTS="-c /home/gitlab/gitlab/config/unicorn.rb -E production -D"
@@ -322,7 +322,7 @@ Adding permission: @@ -322,7 +322,7 @@ Adding permission:
322 322
323 When server is rebooted then gitlab must starting: 323 When server is rebooted then gitlab must starting:
324 324
325 - sudo update-rc.d gitlab defaults 325 + sudo insserv gitlab
326 326
327 Now you can start/restart/stop gitlab like: 327 Now you can start/restart/stop gitlab like:
328 328