/process_kill

ProcessKill is a specification to kill running software processes with multiple signals and intervals

ProcessKill

ProcessKill is a specification to terminate running software processes with multiple different attempts.

Example:

  1. Sent QUIT signal 6 times, at interval of 1,2,3,5,8,13 seconds in between
  2. If the previous attempts failed, send TERM signal 5 times, one right after another
  3. If the previous attempts failed, sent KILL signal 3 times, at intervals of 5 seconds in between

ProcessKill plan in YAML format:

---
- signal: QUIT
  interval:
  - 1
  - 2
  - 3
  - 5
  - 8
  - 13
- signal: TERM
  max_retry: 5
- signal: KILL
  max_retry: 3
  interval: 5

Implementations: