rebuy_deployment 0.6.2 → 0.6.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: e3038a80af75f4e4eee655786618718e7ddedcbd
4
- data.tar.gz: 0e9382aae5bc03f9070aff5d53321ced7891b6c3
3
+ metadata.gz: 1e99a89ba112d2a24de90a0518df75c2c6f0775a
4
+ data.tar.gz: 56b55f87d9cbc6623a28bf43c8ed5e3db3d98860
5
5
  SHA512:
6
- metadata.gz: 7ac6507bde45d4268cb00d7d316bf82ae212bc9cda16ecdbf4d5cad03449e2fc1ff84fe58fd5f4115ede619efde92b45f46ed6b84478b5a269605da8e421143b
7
- data.tar.gz: e717f362d34385af04b6c1ffc6dc31fc172fa79a9ecd78b3cd8029ae7a66a13bf4437bd9cbc8162c875f1c42e4ded9fcad274436b1c29b705ec3095d9e878122
6
+ metadata.gz: ed26ca37d91ebd4cc8ab4bab0d84829eb2c5ff7d41ef3aee77be101119740a37da88b7cf283748e935cb7afc20bb0f8bdd2b4c541a8858b935e6c4999f660aae
7
+ data.tar.gz: 863fcec63eea95a10ecb6546f5f140ea46e701e3028d6eb7c539877a159eaa25524d43697c15901f3e1652aecc696aa232ac8b3fe2293fb31aef309a67aecb7c
@@ -155,9 +155,11 @@ namespace :deploy do
155
155
  run "#{try_sudo} /etc/init.d/php-fpm reload"
156
156
  when "svc"
157
157
  if exists?(:svc_name)
158
- run "#{try_sudo} /usr/bin/svc -t /service/#{svc_name}"
158
+ run "#{try_sudo} /usr/bin/svc -d /service/#{svc_name}"
159
+ run "#{try_sudo} /usr/bin/svc -u /service/#{svc_name}"
159
160
  else
160
- run "#{try_sudo} /usr/bin/svc -t /service/#{application}"
161
+ run "#{try_sudo} /usr/bin/svc -d /service/#{application}"
162
+ run "#{try_sudo} /usr/bin/svc -u /service/#{application}"
161
163
  end
162
164
  end
163
165
  end
@@ -172,9 +174,9 @@ namespace :deploy do
172
174
  restart = "#{try_sudo} /etc/init.d/php-fpm reload"
173
175
  when "svc"
174
176
  if exists?(:svc_name)
175
- restart = "#{try_sudo} /usr/bin/svc -t /service/#{svc_name}"
177
+ restart = "#{try_sudo} /usr/bin/svc -d /service/#{svc_name} && #{try_sudo} /usr/bin/svc -u /service/#{svc_name}"
176
178
  else
177
- restart = "#{try_sudo} /usr/bin/svc -t /service/#{application}"
179
+ restart = "#{try_sudo} /usr/bin/svc -d /service/#{application} && #{try_sudo} /usr/bin/svc -u /service/#{application}"
178
180
  end
179
181
  end
180
182
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - reBuy reCommerce GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2014-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano