diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 15:11:20 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-19 15:11:20 +0200 |
commit | be1dc5544a7840d17657d3d8fcecb0d0fd4401b5 (patch) | |
tree | 0b996bfa5ffed01592330cb59cbc6ac702b86b4b | |
parent | 4eef112462e4a9d7d990603896810d0e945e1769 (diff) | |
download | gitlab-ce-be1dc5544a7840d17657d3d8fcecb0d0fd4401b5.tar.gz |
resque via nohup
-rwxr-xr-x | resque.sh | 2 | ||||
-rwxr-xr-x | resque_dev.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resque.sh b/resque.sh index ab67c650805..0ebf319efc1 100755 --- a/resque.sh +++ b/resque.sh @@ -1,2 +1,2 @@ mkdir -p tmp/pids -bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes +nohup bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid > ./log/resque.log & diff --git a/resque_dev.sh b/resque_dev.sh index 0f1d6edb41f..b250caa9aee 100755 --- a/resque_dev.sh +++ b/resque_dev.sh @@ -1,2 +1,2 @@ mkdir -p tmp/pids -bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1 PIDFILE=tmp/pids/resque_worker.pid RAILS_ENV=development BACKGROUND=yes +nohup bundle exec rake environment resque:work QUEUE=post_receive,mailer,system_hook VVERBOSE=1 RAILS_ENV=development PIDFILE=tmp/pids/resque_worker.pid > ./log/resque.log & |