capistrano-nodejs 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/nodejs/version.rb +1 -1
- data/lib/capistrano/tasks/nodejs.rake +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e97ac2ea316992901354b77b2b05db3f79c8131
|
4
|
+
data.tar.gz: 89d68699b7b84f518d76f143d422b8fe32666c6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9164ef50454973cc6500142a864901ca55a051d4a8a945ef5c29c2863db0b675ca915119686adaf39699ca4c268a65a197ae6010521a68c513f6cfc21710b99
|
7
|
+
data.tar.gz: c2bef8506dff0e4f8b25c9b53cf55e566dd813966c387379fca1bfe0a5e23ccfc8f591f8bb4531c5890f8bb0cb6eb14bc98087341b509d246ac5c2da3fefb1d4
|
@@ -48,9 +48,9 @@ end
|
|
48
48
|
namespace :deploy do
|
49
49
|
task :start do
|
50
50
|
invoke 'config:set_paths'
|
51
|
-
on roles(:app) do
|
51
|
+
on roles(:app) do |host|
|
52
52
|
within release_path do
|
53
|
-
with PORT: host.app_port || 8080 do
|
53
|
+
with PORT: host.properties.app_port || 8080 do
|
54
54
|
execute :forever, "start #{fetch(:forever_options, ["-l logs/forever.log", "-o logs/stdout.log", "-e logs/stderr.log", "--spinSleepTime 10000", "--minUptime 1000"]).join(" ")} #{fetch(:forever_script, "./config/forever.json")}"
|
55
55
|
end
|
56
56
|
end
|
@@ -58,9 +58,9 @@ namespace :deploy do
|
|
58
58
|
end
|
59
59
|
task :stop do
|
60
60
|
invoke 'config:set_paths'
|
61
|
-
on roles(:app) do
|
61
|
+
on roles(:app) do |host|
|
62
62
|
within release_path do
|
63
|
-
with PORT: host.app_port || 8080 do
|
63
|
+
with PORT: host.properties.app_port || 8080 do
|
64
64
|
execute :forever, "stop #{fetch(:forever_options, ["-l logs/forever.log", "-o logs/stdout.log", "-e logs/stderr.log", "--spinSleepTime 10000", "--minUptime 1000"]).join(" ")} #{fetch(:forever_script, "./config/forever.json")}"
|
65
65
|
end
|
66
66
|
end
|
@@ -70,7 +70,7 @@ namespace :deploy do
|
|
70
70
|
invoke 'config:set_paths'
|
71
71
|
on roles(:app), in: :sequence, wait: 5 do |host|
|
72
72
|
within release_path do
|
73
|
-
with PORT: host.app_port || 8080 do
|
73
|
+
with PORT: host.properties.app_port || 8080 do
|
74
74
|
execute :forever, "restart #{fetch(:forever_options, ["-l logs/forever.log", "-o logs/stdout.log", "-e logs/stderr.log", "--spinSleepTime 10000", "--minUptime 1000"]).join(" ")} #{fetch(:forever_script, "./config/forever.json")}"
|
75
75
|
end
|
76
76
|
end
|