View Single Post
  #1  
Old 4th November 2009, 14:37
osmoza osmoza is offline
Junior Member
 
Join Date: Nov 2009
Posts: 5
Thanks: 0
Thanked 4 Times in 3 Posts
Default CLI and web_domain "save" action

Hello,

I've got several CLI scripts that inserts data into ISPConfig's database

Something like that:
Code:
$ user_add client_name username password other_stuff && web_domain_add client_name domain.name.tld
Now, I'd like to force ISPConfigs to generate all the needed system (web_domain related to) files and inserts (vhosts, passwd, shadow etc.) for database inserts made with this scripts ("call the save action" in the web_domain form, but via CLI).

Is it possible? Is there a function/method/script that does the trick? If so - where can I find it?

Cheers,
Osmoza
Reply With Quote
Sponsored Links