vz-stop(5)

vz-stop(5) File Formats Manual vz-stop(5)

NAME

vz-stop - Container's shutdown configuration script

SYNOPSIS

/usr/share/libvzctl/scripts/vz-stop

DESCRIPTION

The vz-stop script is called by vzctl(8) just after the CT is shut down. The script can be any executable file and is usually a shell script. It can be used to perform any additional cleanup of the CT such as network cleanup.

Parameters are passed to the script in the form of environment variables.

VEID
Numeric id of CT.
IP_ADDR
IP address(es) assigned to the CT. Several addresses should be divided by spaces.

DIAGNOSTICS

The script is expected to return 0 on success, any other return code will be printed by vzctl(8).

SEE ALSO

vzctl(8).

COPYRIGHT

Copyright (c) 1999-2017, Parallels International GmbH. All rights reserved. Copyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved.

October 2009 OpenVZ