소스 검색

Merge pull request #1098 from purposeindustries/force-stop

force-stopping services
Andrew Cantino 9 년 전
부모
커밋
ad7c5a5eb0
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  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