also delete generated certs and links to certfiles
This commit is contained in:
parent
16bef337e0
commit
600a230336
@ -312,7 +312,12 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user