Przeglądaj źródła

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

Stas Rudakou 12 lat temu
rodzic
commit
637b4adf7a
1 zmienionych plików z 5 dodań i 0 usunięć
  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