updated ./resque.sh instruction to use sudo
This commit is contained in:
parent
da77cd2247
commit
4b18f4c485
|
@ -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
|
sudo -u gitlab bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes
|
||||||
|
|
||||||
# Gitlab start script
|
# 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. **
|
**Ok - we have a working application now. **
|
||||||
**But keep going - there are some thing that should be done **
|
**But keep going - there are some thing that should be done **
|
||||||
|
|
Loading…
Reference in a new issue