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 +4 -4
- data/lib/rebuy_deployment/deploy.rb +6 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e99a89ba112d2a24de90a0518df75c2c6f0775a
|
4
|
+
data.tar.gz: 56b55f87d9cbc6623a28bf43c8ed5e3db3d98860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 -
|
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 -
|
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 -
|
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 -
|
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.
|
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-
|
11
|
+
date: 2014-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|