diff options
author | turret <turret@duck.com> | 2024-01-14 19:50:24 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2024-01-14 19:50:24 -0600 |
commit | bb357be604b64d489b6015f4c7466be51a748929 (patch) | |
tree | b92fd00dd3e00e7e1fceab64613872992511433e /.gitignore | |
parent | 7da85e6f9b6e9a694eb2faef5c1779c83b9efe3c (diff) | |
download | discord-bot-skeleton-bb357be604b64d489b6015f4c7466be51a748929.tar.gz discord-bot-skeleton-bb357be604b64d489b6015f4c7466be51a748929.tar.bz2 discord-bot-skeleton-bb357be604b64d489b6015f4c7466be51a748929.zip |
init: modify panic termination sequence
in log: we ensure we panic by killing our process group with SIGTERM,
raising it for ourselves, and exiting (if all else fails simply).
in init: we catch SIGTERM and exit with 0 if we get it, as bash (and
likely others) prints a nasty "Terminated" to stderr
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions