Previous page

Next page

Locate page in Contents

Print this page

vzctl runscript

The vzctl runscript command is used to run different shell scripts inside your Containers. It has the following syntax:

vzctl runscript <CT_ID> <script_path>

For the command execution, you should specify the following parameters:

You can execute this command for both running Containers and stopped ones. In the latter case, the corresponding Container will be started before running the specified scripts inside it.

Please send us your feedback on this help page