Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-04 14:41:20 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-04-04 14:41:20 +0400
commite3845529c9832a620323641d5f529e04881f04c1 (patch)
treee22dcd91fc1e1c1fd300bc640af727b77d738b5d /doc
parenteb2c1cd2e372b0cd1a5c408fb0abfbf10f77a216 (diff)
parent5d7954b532ad083f8e56b3db459f41dd00078756 (diff)
Merge pull request #634 from abevoelker/update-init-script
Add redis-server init.d dependency - fixes #598
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 4cff4264241..c5f2057f9cc 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -261,13 +261,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"
@@ -322,7 +322,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: