Save a specific package with command line - XML File
Hello. I create an account with this command:
I have a package already created, but I want back save that package with command line in console. Example: mypackage back save: mypackage by console " how could I do it with command line console ? About Xml, there any way to change the values ??of package creation See this image: .vB As default is unlimited. I would like to change that option, this could change according to my preferences, so each time I create a package I'll see my preferences, in the cms This I can do editing the XML files. "In cpanel is same? Thank You.
yes | /scripts/createacct domain.com userdomain passI have a package already created, but I want back save that package with command line in console. Example: mypackage back save: mypackage by console " how could I do it with command line console ? About Xml, there any way to change the values ??of package creation See this image: .vB As default is unlimited. I would like to change that option, this could change according to my preferences, so each time I create a package I'll see my preferences, in the cms This I can do editing the XML files. "In cpanel is same? Thank You.
-
Edit the corresponding file in /var/cpanel/packages, or use the API: [url=http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/XmlApi#Package]XML and JSON APIs functions 0 -
Hello :) In addition to the previous post, you can also modify the "PLAN=" entry in the "/var/cpanel/users/$username" file if you need to change the package assigned to the account. Remember to run the following command after manually modifying that file: /usr/local/cpanel/scripts/updateuserdomains
Thank you.0
Please sign in to leave a comment.
Comments
2 comments