summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAbe Voelker <abe@abevoelker.com>2012-04-01 18:57:09 -0500
committerAbe Voelker <abe@abevoelker.com>2012-04-01 18:59:56 -0500
commit5d7954b532ad083f8e56b3db459f41dd00078756 (patch)
tree9dba1dbbde38e7b4879c37a1449cb3a613505532 /doc
parentbe5359c695ae8f5583da1c5117e075d35e86c362 (diff)
downloadgitlab-ce-5d7954b532ad083f8e56b3db459f41dd00078756.tar.gz
Add redis-server init.d dependency
Diffstat (limited to 'doc')
-rw-r--r--doc/installation.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/installation.md b/doc/installation.md
index da9aa85f1d3..552eea92e08 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -262,13 +262,13 @@ Create init script in /etc/init.d/gitlab:
#! /bin/bash
### BEGIN INIT INFO
- # Provides: unicorn
- # Required-Start: $local_fs $remote_fs $network $syslog
+ # Provides: gitlab
+ # Required-Start: $local_fs $remote_fs $network $syslog redis-server
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
- # Short-Description: starts the unicorn web server
- # Description: starts unicorn
+ # Short-Description: GitLab git repository management
+ # Description: GitLab git repository management
### END INIT INFO
DAEMON_OPTS="-c /home/gitlab/gitlab/config/unicorn.rb -E production -D"
@@ -323,7 +323,7 @@ Adding permission:
When server is rebooted then gitlab must starting:
- sudo update-rc.d gitlab defaults
+ sudo insserv gitlab
Now you can start/restart/stop gitlab like: