The subscription
utility is used for managing subscriptions through
CLI.
Usage
subscription <command> <subscription name> [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
To create a subscription for the administrator’s customer with the
username jdoe based on the hosting plan “Default Domain”, set up a
site for the domain example.com, assign IP address 192.168.1.100 to
the subscription, and set the username jdoe and password userpass
for access to the subscription:
plesk bin subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login jdoe -passwd "userpass"
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<subscription_name> |
Creates a new subscription. Note: If SELinux is enabled on your operating system, the |
To create a subscription for the administrator’s customer with plesk bin subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login jdoe -passwd "userpass" |
…