overwrite existing link on domain update
This commit is contained in:
parent
0cacd7306e
commit
8855708fd0
@ -288,7 +288,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
||||
);
|
||||
}
|
||||
domDirsProcessor.appendProcessor(
|
||||
new ShellProcessor("ln -s " + domainDir + " /home/doms/ && " +
|
||||
new ShellProcessor("ln -s -f " + domainDir + " /home/doms/ && " +
|
||||
"chown --no-dereference " + userName + ":httpd /home/doms/" + domName
|
||||
+ " && " + "chown " + userName + ":httpd /home/doms/" + domName + "/")
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user