aboutsummaryrefslogtreecommitdiffstats
s6-portable-utils: the s6-pause program

s6-portable-utils
Software
skarnet.org

The s6-pause program

s6-pause blocks until it is killed.

Interface

     s6-pause [ -t ] [ -h ] [ -a ] [ -q ] [ -b ] [ -i ] [ -p signals ]

Options

  • -t : ignore SIGTERM
  • -h : ignore SIGHUP
  • -a : ignore SIGALRM
  • -q : ignore SIGQUIT
  • -b : ignore SIGABRT
  • -i : ignore SIGINT
  • -p signals : ignore the signals listed in signals, which must be a comma-separated list of signal numbers.

Usage notes

  • s6-pause is one of the smallest possible long-lived programs. It uses as few resources as the kernel will allow.
  • The options can be used to wait for a specific signal without being killed by others.