skeleton: Virtual Host Templates
The skeleton
utility is used to manage site directory structure templates through CLI. By using this utility, you can perform the following tasks:
- installing a template on a client account from a file
- resetting a template on a client account to the Plesk default template
Usage
skeleton <command> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command installs a virtual host template from the file /usr/local/skeletons/siteskeleton
(in the ZIP format) for the client with the login name JDoe:
plesk bin skeleton --install JDoe -filename /usr/local/skeletons/siteskeleton -force-type zip
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Installs a virtual host template from a file for a client account. Requires the |
To install a template from the file plesk bin skeleton --install JDoe -filename /usr/local/skeletons/siteskeleton -force-type zip or plesk bin skeleton -i JDoe -filename siteskeleton -force-type zip |
|
|
Installs the Plesk default template for a client account. |
To install the default template for the client with the login name JDoe: plesk bin skeleton --reset JDoe or plesk bin skeleton -r JDoe |
|
|
Displays help on the use of the utility. |
To view help on the use of the utility: plesk bin skeleton --help or plesk bin skeleton -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Specifies a path to a virtual host template file. Used with the |
To install a template from the file plesk bin skeleton -i JDoe -filename /usr/local/skeletons/siteskeleton -force-type zip |
|
|
Forces specification of a virtual host template file format. Used with the |