I have been looking into signal handling in worker.go and config.go. With workers we exit on SIGINT and SIGTERM whereas without workers we exit on SIGINT and SIGKILL.
This change adds SIGTERM into config.go and I also removed SIGKILL as we don't forcefully can't close gogstash if any input/filter/output hangs during cleanup.
I have been looking into signal handling in worker.go and config.go. With workers we exit on SIGINT and SIGTERM whereas without workers we exit on SIGINT and SIGKILL.
This change adds SIGTERM into config.go and I also removed SIGKILL as we don't forcefully can't close gogstash if any input/filter/output hangs during cleanup.