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