X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fexamples%2Fson-monitor_default_topo.py;h=a9649b23da88528c5b9d6320e4c2df17a1b2f2e8;hb=cff5ab133a9493330928b29bc1935695692e4081;hp=29893aedc07748b1ee1ba2d7a130af408e55ce1a;hpb=7d3b58ecf115dc6dc5932f5f4ac406ba05e739fd;p=osm%2Fvim-emu.git diff --git a/src/emuvim/examples/son-monitor_default_topo.py b/src/emuvim/examples/son-monitor_default_topo.py index 29893ae..a9649b2 100755 --- a/src/emuvim/examples/son-monitor_default_topo.py +++ b/src/emuvim/examples/son-monitor_default_topo.py @@ -79,7 +79,9 @@ def exit_gracefully(signum, frame): """ 7. At shutdown, we should receive th SIGTERM signal here and shutdown gracefully """ - # TODO: investigate why this is not called by the sigterm handler + # TODO: investigate why this is not called by the sigterm handler, + # probably because son-emu container is started with pid=host, so the started python script has not pid=0 + # and docker stop only sends sigterm to pid=0 global net global cli