diff --git a/common/src/stack/command/stack/commands/report/host/time/imp_time_ntp.py b/common/src/stack/command/stack/commands/report/host/time/imp_time_ntp.py index 5600ff91d..930a5e7bb 100644 --- a/common/src/stack/command/stack/commands/report/host/time/imp_time_ntp.py +++ b/common/src/stack/command/stack/commands/report/host/time/imp_time_ntp.py @@ -106,9 +106,9 @@ def run(self, host): self.owner.addOutput(host, f'/sbin/chkconfig ntp on') self.owner.addOutput(host, 'service ntp stop') else: - self.owner.addOutput(host, 'systemd enable ntpd') - self.owner.addOutput(host, 'systemd disable chronyd') - self.owner.addOutput(host, 'systemd stop ntpd') + self.owner.addOutput(host, 'systemctl enable ntpd') + self.owner.addOutput(host, 'systemctl disable chronyd') + self.owner.addOutput(host, 'systemctl stop ntpd') self.owner.addOutput(host, NTP_CRON) @@ -130,4 +130,4 @@ def run(self, host): if self.owner.osversion == '11.x': self.owner.addOutput(host, 'service ntp start') else: - self.owner.addOutput(host, 'systemd start ntpd') + self.owner.addOutput(host, 'systemctl start ntpd')