fix get-zonefile command
This commit is contained in:
parent
d6bf31088b
commit
d2e57c9752
@ -122,7 +122,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
||||
// final Processor zonefileTemplateProcessor =
|
||||
// new VelocityProcessor("/de/hsadmin/mods/dom/zonefile.vm", zonefileTemplateVars, dom, zonefileTargetPath, false);
|
||||
|
||||
final Processor getZonefileProcessor = new ShellProcessor("echo \"{DEFAULT_ZONEFILE}\" | /usr/local/sbin/gen-zonefile > " + zonefileTargetPath);
|
||||
final Processor getZonefileProcessor = new ShellProcessor("echo \"{DEFAULT_ZONEFILE}\" | /usr/local/sbin/gen-zonefile " + domName + " > " + zonefileTargetPath);
|
||||
|
||||
final Processor zonefileACLProcessor =
|
||||
new ShellProcessor("chown root:bind " + zonefileTargetPath + " && chmod 644 " + zonefileTargetPath);
|
||||
|
Loading…
Reference in New Issue
Block a user