capistrano-runit 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/History.txt
CHANGED
data/capistrano-runit.gemspec
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
cd <%= current_path %>
|
3
|
-
<%= fetch(:default_environment, {}).map { |k, v| "#{k}
|
3
|
+
<%= fetch(:default_environment, {}).map { |k, v| "#{k}=\"#{v}\"" }.join(" ") %> <%= runit_delayed_job_environment.map { |k, v| "#{k}='#{v}'" }.join(" ") %> exec <%= runit_delayed_job_command %> run
|
@@ -1,3 +1,3 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
cd <%= current_path %>
|
3
|
-
<%= fetch(:default_environment, {}).map { |k, v| "#{k}
|
3
|
+
<%= fetch(:default_environment, {}).map { |k, v| "#{k}=\"#{v}\"" }.join(" ") %> QUEUE=<%= fetch(:runit_resque_queue, nil) || "*" %> <%= runit_resque_environment.map { |k, v| "#{k}=\"#{v}\"" }.join(" ") %> exec <%= runit_resque_command %>
|
@@ -125,7 +125,7 @@ if [ ! $RUNNING ]; then
|
|
125
125
|
echo "Starting unicorn"
|
126
126
|
old=$(pwd)
|
127
127
|
cd $APP_DIR
|
128
|
-
<%= fetch(:default_environment, {}).map { |k, v| "#{k}
|
128
|
+
<%= fetch(:default_environment, {}).map { |k, v| "#{k}=\"#{v}\"" }.join(" ") %> <%= runit_unicorn_command %> -E production -c $THIS_DIR/unicorn.rb -D
|
129
129
|
cd $old
|
130
130
|
sleep 2
|
131
131
|
CUR_PID=$(cat $CUR_PID_FILE)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-runit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anton Ageev
|