Commit 4b18f4c485d5da0fdb46326ee86089c596a208f4

Authored by three18ti
1 parent da77cd22

updated ./resque.sh instruction to use sudo

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
doc/installation.md
... ... @@ -215,8 +215,9 @@ Application can be started with next command:
215 215 sudo -u gitlab bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes
216 216  
217 217 # Gitlab start script
218   - ./resque.sh
219   -
  218 + sudo -u gitlab ./resque.sh
  219 + # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
  220 + # causing the resque worker not to start via init script on next boot/service restart
220 221  
221 222 **Ok - we have a working application now. **
222 223 **But keep going - there are some thing that should be done **
... ...