capistrano-buildpack 0.0.16 → 0.0.17

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: fc7e8eb0220bd96219bfb8288fc0497ac2a82729
4
- data.tar.gz: 82b892f3e8ce3d28e7b7cff808921be6729c261c
3
+ metadata.gz: b3710176be34648f218894c4e98b9dd3b01592f5
4
+ data.tar.gz: 4394764e59822d7f1147f2e4fe5fd55a66228306
5
5
  SHA512:
6
- metadata.gz: 1054b972e6e520b47aaabbb38c4e8d96e3ec43a0875620410476cc7ef587f8f7ee1af0dbbe589adca26d6e8e65dbe3e7b2a1750bf3ada14e8e712466c8b441c1
7
- data.tar.gz: 144220e0a12d428b7a27c89ddbbfda9bb15d233cb81d4241ddcbde2e1effd6e780b52d42c7de4bbcee2e8f4fbbcf9b3d919bc7cc19c9d0f9f9109765ce0b69fe
6
+ metadata.gz: 29cb4a12efe4a8e6b44f6bd96ca7c3b2bb2822a0f9e3306609ca1b3019f5d221969e343922182f5e6c9c9f593765d9caeb8e3b32359ecb62679904defa24e2ae
7
+ data.tar.gz: b91f848d2fcbcf1377ab82d40ff71789994f658b10bcfbd611f48e03ed41bc1e0c0504273b087353c658601f06b5f9b09a91650179bdd67c845f3450aa124a57
@@ -91,7 +91,10 @@ if Capistrano::Configuration.instance
91
91
  sudo "foreman export #{foreman_export_type} #{foreman_export_path} -d #{release_path} -l /var/log/#{application} -a #{application} -u #{app_user} -p #{base_port} -m #{concurrency}"
92
92
  sudo "env #{_use_ssl} #{_ssl_cert_path} #{_ssl_key_path} #{_force_ssl} #{_force_domain} #{_listen_address} ADDITIONAL_DOMAINS=#{additional_domains.join(',')} #{_default_server} BASE_DOMAIN=$CAPISTRANO:HOST$ nginx-foreman export nginx #{nginx_export_path} -d #{release_path} -l /var/log/apps -a #{application} -u #{app_user} -p #{base_port} -m #{concurrency}"
93
93
 
94
+ next if concurrency == ''
95
+
94
96
  if foreman_export_type.to_s == 'systemd'
97
+ sudo "systemctl daemon-reload"
95
98
  sudo "systemctl restart #{application}.target || systemctl start #{application}.target"
96
99
  sudo "systemctl restart nginx || systemctl start nginx"
97
100
  else
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Buildpack
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-buildpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Keen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2018-07-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Deploy 12-factor applications using Capistrano
14
14
  email:
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project:
49
- rubygems_version: 2.6.8
49
+ rubygems_version: 2.6.13
50
50
  signing_key:
51
51
  specification_version: 4
52
52
  summary: Deploy 12-factor applications using Capistrano