Skip to content

Commit 154ba19

Browse files
add note on signal handling
1 parent 2e975ca commit 154ba19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

007/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ It should be possible to run bots defined in IntelMQ's runtime configuration fil
104104
#### Un-Configured bots
105105
It should be possible to run bots, which are not defined in IntelMQ's runtime configuration file. The bot configuration is provided as function parameter.
106106

107+
### Signals
108+
Normally bots react to signals like SIGTERM, SIGHUP and SIGINT to treat them specially.
109+
In library mode, this would interfere with the signal handling of the calling code.
110+
Thus, IntelMQ bots called as library must not manipulate the signal handling or call `sys.exit`.
107111

108112
### Logging
109113

0 commit comments

Comments
 (0)