pdeath

Description: Run a command that is killed when its parent dies
Status: Feature complete
Source: https://git.maandree.se/pdeath
Latest release: 1.1.1
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

pdeath runs a command but causes it to be killed, by a user-specified signal, when the parnet process dies.