diff --git a/base/server/python/pki/server/subsystem.py b/base/server/python/pki/server/subsystem.py index 0592f0b6f76..30ecbf59d95 100644 --- a/base/server/python/pki/server/subsystem.py +++ b/base/server/python/pki/server/subsystem.py @@ -1251,7 +1251,7 @@ def setup_replication( master_config_file = os.path.join(tmpdir, 'master.conf') pki.util.store_properties(master_config_file, master_config) - cmd = [self.name + '-db-replication-setup'] + cmd = [self.name + '-db-repl-setup'] if master_replication_port: cmd.extend(['--master-replication-port', master_replication_port]) diff --git a/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java b/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java index 1fb2e784809..064b9df2eb8 100644 --- a/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java +++ b/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java @@ -13,7 +13,7 @@ public class SubsystemDBReplicationCLI extends CLI { public SubsystemDBReplicationCLI(CLI parent) { - super("replication", parent.parent.name.toUpperCase() + " database replication management commands", parent); + super("repl", parent.parent.name.toUpperCase() + " database replication management commands", parent); addModule(new SubsystemDBReplicationSetupCLI(this)); }