Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-08-30 22:31:55 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-08-30 22:31:55 +0400
commit4a6596af274c01036aaf9f49a5b38cd678716873 (patch)
tree9ea4c92acc925f247cbc1f36d7d64cf8016d2f65 /gitlab
parent92137b7bebb2b6f9c5225776e3f30d0e5dfab9e6 (diff)
Fixed bunch of js bugs with comments. Also added development tips
Diffstat (limited to 'gitlab')
-rwxr-xr-xgitlab7
1 files changed, 6 insertions, 1 deletions
diff --git a/gitlab b/gitlab
index 12cebd89891..acafb3f10c4 100755
--- a/gitlab
+++ b/gitlab
@@ -22,10 +22,11 @@ class GitlabCli
case @mode
when 'production';
system(unicorn_start_cmd)
+ system(resque_start_cmd)
else
system(rails_start_cmd)
+ system(resque_dev_start_cmd)
end
- system(resque_start_cmd)
end
def stop
@@ -57,6 +58,10 @@ class GitlabCli
"kill -QUIT `cat #{pid}`"
end
+ def resque_dev_start_cmd
+ "./resque_dev.sh > /dev/null 2>&1"
+ end
+
def resque_start_cmd
"./resque.sh > /dev/null 2>&1"
end