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