Kaynağa Gözat

force-stopping services

oroce 9 yıl önce
ebeveyn
işleme
4487a9270d
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 6 1
      lib/tasks/production.rake

+ 6 - 1
lib/tasks/production.rake

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