Signal handling

SureAliveD uses signals to restart or shut down test. Here we describe how signals are handled by watchdog and tester process: 

 

SureAliveD:

  • Watchdog:
    • SIGTERM - force restart child process (tester)
    • SIGHUP - gently restart tester
    • SIGINT - shut down watchdog and tester
  • SureAlived (tester):
    • SIGTERM - force shut down
    • SIGHUP - stop tests and shutdown (gentle shutdown)
    • SIGINT - force shutdown and notify watchdog (if exists)

ipvssync:

  • SIGTERM - force shutdown
  • SIGHUP - reload configuration
  • SIGINT - force shutdown