ninja-deploy 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +12 -0
- data/VERSION +1 -1
- data/lib/ninja_deploy/recipes/passenger.rb +5 -0
- data/ninja-deploy.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -69,6 +69,18 @@ From Command-Line:
|
|
69
69
|
|
70
70
|
cap production passenger:restart
|
71
71
|
|
72
|
+
=== sudo_restart
|
73
|
+
|
74
|
+
Restarts Passenger using sudo.
|
75
|
+
|
76
|
+
As Callback:
|
77
|
+
|
78
|
+
after "deploy:update_code", "passenger:sudo_restart"
|
79
|
+
|
80
|
+
From Command-Line:
|
81
|
+
|
82
|
+
cap production passenger:sudo_restart
|
83
|
+
|
72
84
|
|
73
85
|
== Sass Recipes
|
74
86
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -2,6 +2,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
2
2
|
namespace :passenger do
|
3
3
|
desc "Restart the passenger module to reload the application after deploying."
|
4
4
|
task :restart, :roles => :app, :except => {:no_release => true} do
|
5
|
+
run "touch #{current_path}/tmp/restart.txt"
|
6
|
+
end
|
7
|
+
|
8
|
+
desc "Restart the passenger module to reload the application after deploying using sudo."
|
9
|
+
task :sudo_restart, :roles => :app, :except => {:no_release => true} do
|
5
10
|
sudo "touch #{current_path}/tmp/restart.txt"
|
6
11
|
end
|
7
12
|
end
|
data/ninja-deploy.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ninja-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ninja Loss
|