summaryrefslogtreecommitdiff
path: root/m4/ax_require_defined.m4
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-09-04 09:53:49 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-09-04 09:53:49 -0700
commit497ecae46a8ee31122edad3984e1187ed9cc370c (patch)
tree2fe5807527386578896abf77e7468699c8370559 /m4/ax_require_defined.m4
parent9992253bd3a56981ccc2c3992b2057348be99ae3 (diff)
vmon: trigger final snapshot on SIGTERM
When using vmon to monitor a system PID1 will kill it @ shutdown/reboot, and we should save one last snapshot of what's been captured before we exit in that case. SIGTERM is sent first before the SIGKILL killing spree, so let's handle the SIGTERM by writing the snapshot, then exiting the main loop. The service manager can then do something with the produced snapshots after we've exited, if they're considered interesting.
Diffstat (limited to 'm4/ax_require_defined.m4')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved