This commit is contained in:
parent
b5c3c18e28
commit
4ece2b0cd2
5 changed files with 20 additions and 5 deletions
|
|
@ -8,12 +8,12 @@ import java.util.LinkedList;
|
|||
import java.util.List;
|
||||
|
||||
import wa.server.WAConstants;
|
||||
import wa.server.plugin.WAConfigurator;
|
||||
import wa.server.plugin.WAConfiguration;
|
||||
import wa.server.util.ConfigFileUtil;
|
||||
import zutil.db.DBConnection;
|
||||
import zutil.io.file.FileUtil;
|
||||
|
||||
public class ApacheConfigurator implements WAConfigurator {
|
||||
public class ApacheConfiguration implements WAConfiguration {
|
||||
private static final String APACHE_CONF_FILE = "wa_apache_vhost.conf";
|
||||
private static final String APACHE_MAIN_CONFIG_FILE = "/etc/apache2/apache2.conf";
|
||||
private static final String STATIC_PRE_CONF = "wa/server/plugin/apache/apache_default.config";
|
||||
|
|
@ -22,7 +22,7 @@ public class ApacheConfigurator implements WAConfigurator {
|
|||
List<ApacheConfigVirtualHost> vhosts;
|
||||
|
||||
|
||||
public ApacheConfigurator(){
|
||||
public ApacheConfiguration(){
|
||||
vhosts = new LinkedList<ApacheConfigVirtualHost>();
|
||||
}
|
||||
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
package wa.server.plugin.apache;
|
||||
|
||||
import wa.server.plugin.WAConfiguration;
|
||||
import wa.server.plugin.WAInstaller;
|
||||
import wa.server.plugin.WAService;
|
||||
import wa.server.plugin.WAServiceStatus;
|
||||
|
|
@ -57,4 +58,9 @@ public class ApacheService implements WAService {
|
|||
installer = new ApacheInstaller();
|
||||
return installer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public WAConfiguration[] getConfigurations() {
|
||||
return new WAConfiguration[0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue