What is the best way to modify the file paths for a site deployed using Aegir?
Aegir installs sites with the file paths pointing in this format:
(This path being relative to the site's platform)
What is the best way to change it to a NAS mount, mounted at, say,
/var/nasmount ? For e.g., for a site called firstsite.com, the file paths would be:
and so on, along with the the corresponding entries in the site's apache conf file.
These lines appear in /var/aegir/.drush/provision/platform/provision_drupal_settings.tpl.php, but I am reluctant to change here as this is from 'core' Aegir (if you will):
$conf['file_directory_path'] = 'sites/<?php print $this->uri ?>/files'; $conf['file_directory_temp'] = 'sites/<?php print $this->uri ?>/files/tmp';
Should this be done in:
- provision_drupal_settings.tpl.php file above?
- Somewhere else?
Ideally, this change would be done once so all sites deployed via Aegir have this in place, and these changes survive the re-verify process of a site and/or platform.