Man Page: killjail(8)
KILLJAIL(8) User Manual KILLJAIL(8)
NAME
killjail - stop or restart a jail
SYNOPSIS
killjail [ -h | -r ] [ -t timeout ] [ -fq ] jailname ...
DESCRIPTION
killjail can either send signals to a jailer(8) process to manage the
shutdown or restart of a jail or it can kill all the processes in a
jail on it's own.
When no options are given the jail is shutdown as follows:
1. A stop request (SIGTERM) is sent to the jailer(8) process for the
jail if there is one. This initiates an orderly shutdown.
2. Any remaining processes are killed with a SIGTERM.
3. If the -f option is specified, send a SIGKILL to any remaining pro-
cesses.
OPTIONS
-f Force jail to shutdown sending a SIGKILL as a last resort.
-h Sends a halt request to a jail (SIGQUIT). The jail must have a
jailer(8) process running inside it. The jailer(8) process
remains running within the jail, but all other jailed processes
are shutdown in and orderly fashion.
-q Supress warnings.
-r Sends a restart request to a jail (SIGHUP). The jail must have a
jailer(8) process running inside it.
-t timeout
The timeout in seconds to wait between steps 1, 2 and 3 above.
Defaults to 3.
BUGS
I'm sure they're out there. Let me know.
AUTHOR
Stef Walter <stef@thewalter.net>
SEE ALSO
jail(8), jailer(8), kill(1)
FreeBSD May 2002 KILLJAIL(8)