reseller Skeleton Directory plus db
Hello,
I know you can Skeleton Directory for new accounts so they get bases files loaded on the account when an account is created.
https://docs.cpanel.net/whm/account-functions/skeleton-directory/
Is there a way to include a DB too? I want to roll out an app based on this process that has a DB as part of the base system.
Thanks,
-
Hey hey! There's no automated way to do this with the skeleton directory, as that only handles flat files. I'm thinking you could use a hook in the Accounts:Create portion of the code along with other API calls to manually copy a database and associate with a cPanel account:
but that would require some custom work for sure.
0 -
At least that is an option. I'll start there.
I'm trying to make this interoperate with WHMCS so a purchase can auto provision the web app with hosting.
Thanks,
0 -
You may want to post on their forum at https://whmcs.community/ as they have MUCH more knowledge of that type of integration than I do.
0
Please sign in to leave a comment.
Comments
3 comments