@@ -38,6 +38,11 @@ namespace :production do |
||
38 | 38 |
run_sv('start') |
39 | 39 |
end |
40 | 40 |
|
41 |
+ task :force_stop => :check do |
|
42 |
+ puts "Force stopping huginn ..." |
|
43 |
+ run_sv('force-stop') |
|
44 |
+ end |
|
45 |
+ |
|
41 | 46 |
task :status => :check do |
42 | 47 |
run_sv('status') |
43 | 48 |
end |
@@ -91,4 +96,4 @@ rescue StandardError => e |
||
91 | 96 |
raise e |
92 | 97 |
else |
93 | 98 |
puts output |
94 |
-end |
|
99 |
+end |