remove selfsigned certs and links to real certs on domain delete
This commit is contained in:
parent
c533e75061
commit
1041e6b152
@ -303,6 +303,7 @@ 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 -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