capistrano-unicorn-nginx 3.3.2 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bb3ef3f0c2a5ffce9901e6c13e7429d6580afe7
|
4
|
+
data.tar.gz: b10988520574834d2e1c1a656d4d6061a46f4ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6036237105e57ca6cff51ac0c715fb255e152768db9cee5fbf7f3d960235da3e9876f5c73caa76aee759de1ef1fc92c52f7ad7187b27ddc4c4320e629920634c
|
7
|
+
data.tar.gz: 72015998373a8de90105f89ae0b787c97b40d3d7323058e350fbb2ed3be1b74335d11c72735641fd1a844194ff7f440b285ae26ca455d44872d64e9d42a2c43a
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,7 @@ namespace :load do
|
|
12
12
|
set :unicorn_config, -> { unicorn_default_config_file }
|
13
13
|
set :unicorn_logrotate_config, -> { unicorn_default_logrotate_config_file }
|
14
14
|
set :unicorn_workers, 2
|
15
|
+
set :unicorn_env, "" # environmental variables passed to unicorn/Ruby. Useful for GC tweaking, etc
|
15
16
|
set :unicorn_worker_timeout, 30
|
16
17
|
set :unicorn_tcp_listen_port, 8080
|
17
18
|
set :unicorn_use_tcp, -> { roles(:app, :web).count > 1 } # use tcp if web and app nodes are on different servers
|
@@ -16,7 +16,8 @@ APP_ROOT=<%= current_path %>
|
|
16
16
|
PID=<%= fetch(:unicorn_pid) %>
|
17
17
|
|
18
18
|
AS_USER=<%= fetch(:unicorn_user) %>
|
19
|
-
|
19
|
+
UNICORN_ENV="<%= fetch(:unicorn_env) %>"
|
20
|
+
CMD="export HOME; true "${HOME:=$(getent passwd "$AS_USER" | cut -d: -f6;)}" ; cd $APP_ROOT && $UNICORN_ENV <%= bundle_unicorn("-D -c", fetch(:unicorn_config), "-E", fetch(:unicorn_app_env)) %>"
|
20
21
|
|
21
22
|
set -u
|
22
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-unicorn-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben Stranders
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|