python-agentx: Add signal handlers for INT and TERM

And another patch for python-agentx: this one adds signal handlers for signals INT and TERM.

This is necessary because python-agentx implements the main loop for your agent, anyway. Then it should also deal with termination handling when the agent either runs in foreground, ie. not daemonized, and CTRL-C is used to interrupt the main loop, and when the agent runs as a daemon where kill is used to signal the process termination.

The patch can be found at Sourceforge Bug report #3538295.

Leave a comment