Kaynağa Gözat

Add killasgroup=true to the supervisord configuration file example for celeryd

Stas Rudakou 12 yıl önce
ebeveyn
işleme
637b4adf7a
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      extra/supervisord/celeryd.conf

+ 5 - 0
extra/supervisord/celeryd.conf

@@ -26,6 +26,11 @@ startsecs=10
 ; Increase this if you have very long running tasks.
 stopwaitsecs = 600
 
+; When resorting to send SIGKILL to the program to terminate it
+; send SIGKILL to its whole process group instead,
+; taking care of its children as well.
+killasgroup=true
+
 ; if rabbitmq is supervised, set its priority higher
 ; so it starts first
 priority=998