summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/runner.py')
-rw-r--r--src/mailman/interfaces/runner.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailman/interfaces/runner.py b/src/mailman/interfaces/runner.py
index e923e099b..4fe8ae0a3 100644
--- a/src/mailman/interfaces/runner.py
+++ b/src/mailman/interfaces/runner.py
@@ -47,6 +47,14 @@ class IRunner(Interface):
`config.QRUNNER_SLEEP_TIME`
""")
+ intercept_signals = Attribute("""\
+ Should the qrunner mechanism intercept signals?
+
+ In general, the qrunner catches SIGINT, SIGTERM, SIGUSR1, and SIGHUP
+ to manage the process. Some qrunners need to manage their own
+ signals, and set this attribute to False.
+ """)
+
def _one_iteration():
"""The work done in one iteration of the main loop.