Modifying a Service Plan
To modify a Service Plan, use the EditPlan
script.
Syntax
/usr/local/bin/EditPlan
[-p
<source plan> | -s
<source site> | -d
<source domain> |
-i
<source IP> | -t
<source path>]
[-c
<service>,
<option>=
<value>,[on|off],... ...]
[-f | --force]
<target plan>
where:
- <source plan>
is the name of an existing Service Plan you want to use as the foundation or template when editing the Service Plan. This option can be omitted, in which case the target Service Plan is used as the basis of the edit operation. - <source site>, <source domain>, and <source IP> are three ways to specify a site whose configuration you want to use as the foundation or template to edit when editing the Service Plan.
Note: If the -t option is used, the path will be /home/virtual/
<sourcepath>/info/current
.
- <service> is the name of the service for which you want to specify options in this Service Plan.
- <option> is optional features, if any, that you want to specify for the service.
- <value> is what the option specifies, such as a name, password, or measurement. <value> may be a single string (for example, 1 or My User) or a list (for example,
\[1, 2, 3\]) - Each service has an enabled option, which may be used to enable or disable the service by setting this option to 1 or 0, respectively. Alternatively, the strings on and off may be used as abbreviations for the strings: enabled=1 and disabled=0.
- <target plan> is the name of the Service Plan created as a result of the edit operation.