eycap 0.5.10 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +2 -0
- data/lib/eycap.rb +1 -1
- data/lib/eycap/recipes/delayed_job.rb +3 -3
- metadata +3 -3
data/History.txt
CHANGED
data/lib/eycap.rb
CHANGED
|
@@ -3,21 +3,21 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
3
3
|
desc <<-DESC
|
|
4
4
|
Start the Delayed Job queue along with any in the same monit_group.
|
|
5
5
|
DESC
|
|
6
|
-
task :start, :roles => [:app], :
|
|
6
|
+
task :start, :roles => [:app], :only => {:dj => true} do
|
|
7
7
|
sudo "/usr/bin/monit start all -g #{monit_group}"
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
desc <<-DESC
|
|
11
11
|
Restart the Delayed Job queue along with any in the same monit_group.
|
|
12
12
|
DESC
|
|
13
|
-
task :restart, :roles => [:app], :
|
|
13
|
+
task :restart, :roles => [:app], :only => {:dj => true} do
|
|
14
14
|
sudo "/usr/bin/monit restart all -g #{monit_group}"
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
desc <<-DESC
|
|
18
18
|
Stop all monit group members, of which delayed job can be a part of.
|
|
19
19
|
DESC
|
|
20
|
-
task :stop, :roles => [:app], :
|
|
20
|
+
task :stop, :roles => [:app], :only => {:dj => true} do
|
|
21
21
|
sudo "/usr/bin/monit stop all -g #{monit_group}"
|
|
22
22
|
end
|
|
23
23
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eycap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 11
|
|
10
|
+
version: 0.5.11
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Engine Yard
|