Configuring Aegir to Set Custom File Paths 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:

sites/&lt;sitename&gt;/files


(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:

/var/nasmount/firstsite.com/files
/var/nasmount/firstsite.com/files/tmp


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/&lt;?php print $this-&gt;uri ?&gt;/files';
  $conf['file_directory_temp'] = 'sites/&lt;?php print $this-&gt;uri ?&gt;/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. 

Thanks!
The answer is to mv siltes/firstsite.com/files to /var/nasmount, then create a symbolic link to it.
(from inside your sites/firstsites.com directory,  mkdir /var/nasmount/firstsite.com, mv ./files /var/nasmount/firstsite.com, ln -s /var/nasmount/firstsite.com/files files).

I would put this in a script so this becomes a drush command, then make it run at the end of the aegir create a site process.

I'm not an expert of where to put this script and/or how to create it.