Problem, when you start something like
/usr/lib/msgcollector/msgdispatcher_dispatch_x info "test title" "test msg" 1 ""
from terminal, you cannot terminate using ctrl + c. This makes it difficult for calling scripts to terminate them (in case those would receive a signal themselves) and then that process could either hang or stay open. Not critical, but an issue we can fix.
To find them.
grep -r \#\!/usr/bin/python *
What do do... I suggest this.
- on sigterm -> "Signal sigterm received! Exiting." -> exit 143
- on sigint (ctrl + c) -> "Signal sigint received! Exiting." -> exit 130
Ideally we have some small code snippet that we can easily reuse and copy and paste into all the scripts.