$this->sync($this->server->apache_platform_conf_path,array('exclude'=>$this->server->apache_platform_conf_path.'/*'));// Make sure remote directory is created
drush_log(dt('Apache on %server has been restarted',array('%server'=>$this->server->remote_host)));
}
else{
drush_log(dt('Web server %server could not be restarted. Changes might not be available until this has been done. (error: %msg)',array('%server'=>$this->server->remote_host,'%msg'=>join("\n",drush_shell_exec_output()))),'warning');
}
}
}
}
}
...
@@ -132,6 +68,18 @@ class provisionConfig_apache_server extends provisionConfig_apache {
...
@@ -132,6 +68,18 @@ class provisionConfig_apache_server extends provisionConfig_apache {
public$template='server.tpl.php';
public$template='server.tpl.php';
public$description='apache server configuration file';
public$description='apache server configuration file';
functionwrite(){
parent::write();
// We link the apache.config file on the remote server to the right version.