Hey,

I'm looking to write a module that can, essentially, create new drupal subdomains sites - which would require creating a new directory inside of /sites/ - as well as some other filesystem & db functions. Since modules can only write inside their sites files directory, I was wondering if drush could be called by a module to perform these types of operations? If not, do you have any suggestions?

Thanks

Comments

adrian’s picture

You should check out the Aegir project, specifically the Provision component (which forms our back end).

http://groups.drupal.org/aegir

adrian’s picture

Status: Active » Fixed
mstef’s picture

I did. It's pretty awesome. Nice work..

I had some specific needs for automated subdomain multisites. I wrote my own module to create and manage the sites already though.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.