move pac-domain-data to temp dir, salt-call
This commit is contained in:
parent
79d1d5110b
commit
1447233225
@ -365,7 +365,10 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
|||||||
" && rm -f /etc/apache2/pems-generated/" + domname + ".crt" +
|
" && rm -f /etc/apache2/pems-generated/" + domname + ".crt" +
|
||||||
" && rm -f /etc/apache2/pems-generated/" + domname + ".key" +
|
" && rm -f /etc/apache2/pems-generated/" + domname + ".key" +
|
||||||
" && rm -f /etc/apache2/pems-generated/" + domname + ".chain" +
|
" && rm -f /etc/apache2/pems-generated/" + domname + ".chain" +
|
||||||
" && chown -R " + username + ":" + username + " " + homedir + "/doms/" + domname +
|
" && mkdir " + homedir + "/doms.bak" +
|
||||||
|
" && mv " + homedir + "/doms/" + domname + " " + homedir + "/doms.bak/" +
|
||||||
|
" && chown -R " + username + ":" + username + " " + homedir + "/doms.bak" +
|
||||||
|
" && salt-call state.sls pacs " +
|
||||||
" && invoke-rc.d apache2 reload >/dev/null 2>&1");
|
" && invoke-rc.d apache2 reload >/dev/null 2>&1");
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user