Do not follow this link

~zacbrown/signal-fun

A simple Go binary for exploring POSIX signals.
c898dffa — Zac Brown 3 years ago
Add updated Makefile.
73350a28 — Zac Brown 3 years ago
Add a command line argument to ignore SIGTERM.
3c89396d — Zac Brown 3 years ago
Implement SIGHUP properly because I misunderstood how it worked.

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~zacbrown/signal-fun
read/write
git@git.sr.ht:~zacbrown/signal-fun

You can also use your local clone with git send-email.

#README

signalfun is a simple binary that prints out what POSIX signal it receives. It exits when it receives any of the following signals:

  • SIGHUP
  • SIGINT
  • SIGTERM
  • SIGKILL

Additionally, a basic OpenBSD rc script is provided to run the binary as a daemon.

Do not follow this link