[Users] Execute command on host when container stops

Kir Kolyshkin kir at openvz.org
Tue Mar 18 07:57:15 PDT 2014


On 03/18/2014 07:16 AM, Hristo Benev wrote:
> Hi,
>
> is there a way to execute command on host node when I'm shutting down/(re)start container?

Please see man vzctl, section ACTION SCRIPTS, or 
https://openvz.org/Man/vzctl.8#ACTION_SCRIPTS

--kir



More information about the Users mailing list