The service_plan utility is used for managing hosting plans through
the command line.
Usage
service_plan <command> [<plan_name>] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]]
Example
The following command creates a hosting plan named Personal Sites,
which allocates 500 megabytes of disk space and 1 gigabyte of traffic
per month.
plesk bin service_plan -c "Personal Sites" -hosting true -disk_space 500M -max_traffic 1G
Commands
| Command | Parameter | Description | Example |
|---|---|---|---|
--create or -c |
<service-plan-name> |
Creates a new hosting plan. |
To create a hosting plan named Plan 1: plesk bin service_plan --create "Plan 1" or plesk bin service_plan -c "Plan 1" |
--update or -u |
<service-plan-name> |
Updates an existing hosting plan. |
To rename a plan from Plan 1 to Plan 2: plesk bin service_plan --update "Plan 1" -new-name "Plan 2" or plesk bin service_plan -u "Plan 1" -new-name "Plan 2" |
…