HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2015-08-07 1041e6b152b249cbba915ea8d07a271bd9d0a2be
remove selfsigned certs and links to real certs on domain delete
1 files modified
1 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 1 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -303,6 +303,7 @@
            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 -rf " + dom.getUser().getHomedir() + "/doms/" + domName +
                " && invoke-rc.d apache2 reload >/dev/null 2>&1");
        return vhostDelProcessor;