summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthree18ti <three18ti@gmail.com>2012-07-29 19:49:43 -0600
committerthree18ti <three18ti@gmail.com>2012-07-29 19:49:43 -0600
commit4b18f4c485d5da0fdb46326ee86089c596a208f4 (patch)
treef6c25fa0d7fbfbf15851cff846d1ca191e2a3af9
parentda77cd224731a8da6c94f65495ec1a7d9f5169c0 (diff)
downloadgitlab-ce-4b18f4c485d5da0fdb46326ee86089c596a208f4.tar.gz
updated ./resque.sh instruction to use sudo
-rw-r--r--doc/installation.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/installation.md b/doc/installation.md
index 126fd1b8236..d59f42499a4 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -215,8 +215,9 @@ Application can be started with next command:
sudo -u gitlab bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes
# Gitlab start script
- ./resque.sh
-
+ sudo -u gitlab ./resque.sh
+ # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
+ # causing the resque worker not to start via init script on next boot/service restart
**Ok - we have a working application now. **
**But keep going - there are some thing that should be done **