HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2015-11-28 600a2303369be2ebe2d7d9ec79b69539f19089d9
also delete generated certs and links to certfiles
1 files modified
7 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 7 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -312,7 +312,12 @@
            new ShellProcessor("rm -f /home/doms/" + domName +
                " && rm -f /etc/apache2/sites-enabled/" + linkPrefix + "-" + domName +
                " && rm -f /etc/apache2/sites-available/" + domName +
                " && rm -f /etc/apache2/pems-enabled/" + dom.getUser().getName() + "/" + domName + ".*" +
                " && rm -f /etc/apache2/pems-enabled/" + domName + ".crt" +
                " && rm -f /etc/apache2/pems-enabled/" + domName + ".key" +
                " && rm -f /etc/apache2/pems-enabled/" + domName + ".chain" +
                " && rm -f /etc/apache2/pems-generated/_." + domName + ".crt" +
                " && rm -f /etc/apache2/pems-generated/_." + domName + ".key" +
                " && rm -f /etc/apache2/pems-generated/_." + domName + ".chain" +
                " && rm -rf " + dom.getUser().getHomedir() + "/doms/" + domName +
                " && invoke-rc.d apache2 reload >/dev/null 2>&1");
        return vhostDelProcessor;