|-f||Force the processes to quit. If processes remain after sending them a SIGTERM then kill them with SIGKILL which forces the a process exit.|
|-k||Dont call the shutdown scripts, just kill the processes.|
|-r||After shutting down the jail, restart it by running the /etc/rc startup script.|
|-t timeout||Specify a maximum timeout to wait after running the shutdown scripts and between the sending the various kill signals. The default is 3 seconds.|
|-v||Show the output of shutdown or startup scripts on the console. This also enables all warnings.|
|jail||Either a jail id (which is an integer) or a jail host name.|
Its generally assumed that the jail in question is a full jail with startup and shutdown scripts. If thats not the case use the -k option.
The startup and shutdown scripts inside the jail must be shell scripts and must be owned by root in order to be executed.
The environment is purged properly before running the scripts in the jail in order to prevent unwanted information from leaking into the jail.
Both startup and shutdown are logged to the jails console if it exists.
jkill needs a valid /dev/null device in the jail. If it doesnt exit for some reason it is automatically created.
/etc/rc /etc/rc.shutdown /dev/console
.An Stef Walter Aq firstname.lastname@example.org