Commit cf68adda4b77ec9dae63f717f965df887e1b5d9a

Authored by Dmitriy Zaporozhets
1 parent 5fdcbeda

fixed service docs

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
doc/installation.md
@@ -262,11 +262,11 @@ Create init script in /etc/init.d/gitlab: @@ -262,11 +262,11 @@ Create init script in /etc/init.d/gitlab:
262 start) 262 start)
263 CD_TO_APP_DIR="cd /home/gitlab/gitlab" 263 CD_TO_APP_DIR="cd /home/gitlab/gitlab"
264 START_DAEMON_PROCESS="bundle exec unicorn_rails $DAEMON_OPTS" 264 START_DAEMON_PROCESS="bundle exec unicorn_rails $DAEMON_OPTS"
265 - START_RESQUE_PROCESS="bundle exec unicorn_rails $DAEMON_OPTS" 265 + START_RESQUE_PROCESS="./resque.sh"
266 266
267 echo -n "Starting $DESC: " 267 echo -n "Starting $DESC: "
268 if [ `whoami` = root ]; then 268 if [ `whoami` = root ]; then
269 - sudo -u gitlab sh -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && START_RESQUE_PROCESS" 269 + sudo -u gitlab sh -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS"
270 else 270 else
271 $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS 271 $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS
272 fi 272 fi