Closed jkohen closed 6 years ago
We could have added a SIGTERM handler, and maybe that would have fixed the problem, but I only know how to do that for a specific shell, e.g. bash, and I don't know if bash is always available. Maybe one day we should review the way collectd spawns these plug-ins, since the examples I found online didn't handle signals explicitly either.
It used to run until aborted, but in some cases something was preventing it from terminating when collectd was restarted, leaving multiple copies in the system.