Commit b4056645 authored by mig5's avatar mig5 Committed by mig5

try to fetch the publish_path from options, default to drush_server_home

parent 61c8b964
......@@ -29,10 +29,12 @@ function drush_provision_hostmaster_install($site) {
$data['init_http'] = 'apache';
$data['init_db'] = 'mysql';
$data['provision_context'] = 'server';
$data['parent_path'] = drush_server_home();
$data['parent_path'] = drush_get_option('publish_path', drush_server_home());
$data['script_user'] = drush_get_option('script_user');
$data['web_group'] = drush_get_option('web_group', _provision_default_web_group());
$data['web_port'] = drush_get_option('web_port', 80);
$data['config_path'] = drush_get_option('config_path', $data['parent_path'] . '/config');
$data['backup_path'] = drush_get_option('backup_path', $data['parent_path'] . '/backups');
$data['drush_path'] = DRUSH_COMMAND;
// verify the server
......
......@@ -185,5 +185,5 @@ else
fi
msg "Installing the frontend"
$DRUSH hostmaster-install --client_email="$CLIENT_EMAIL" --backend-only=$BACKEND_ONLY --root="$HOSTMASTER_DIR" --version="$AEGIR_VERSION" --parent_path="$AEGIR_HOME" --script_user="$USER" --web_group="$WEB_GROUP" $AEGIR_DOMAIN
$DRUSH hostmaster-install --client_email="$CLIENT_EMAIL" --backend-only=$BACKEND_ONLY --root="$HOSTMASTER_DIR" --version="$AEGIR_VERSION" --parent_path="$AEGIR_HOME" --script_user="$USER" --web_group="$WEB_GROUP" --config_path="$AEGIR_HOME/config" --backup_path="$AEGIR_HOME/backups" $AEGIR_DOMAIN
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment