Browse Source

Merge pull request #1098 from purposeindustries/force-stop

force-stopping services
Andrew Cantino 9 years ago
parent
commit
ad7c5a5eb0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      lib/tasks/production.rake

+ 6 - 1
lib/tasks/production.rake

@@ -38,6 +38,11 @@ namespace :production do
     run_sv('start')
   end
 
+  task :force_stop => :check do
+    puts "Force stopping huginn ..."
+    run_sv('force-stop')
+  end
+
   task :status => :check do
     run_sv('status')
   end
@@ -91,4 +96,4 @@ rescue StandardError => e
   raise e
 else
   puts output
-end
+end