overwrite existing link an domain update

This commit is contained in:
Peter Hormanns 2012-09-20 16:31:39 +02:00
parent 8855708fd0
commit 324f4900df

View File

@ -288,7 +288,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
);
}
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 " + userName + ":httpd /home/doms/" + domName + "/")
);