mirror of https://github.com/apache/cloudstack.git
Use systemctl instead of service
This commit is contained in:
parent
c0572d7992
commit
b7159ba0df
|
|
@ -323,8 +323,8 @@ public class CAManagerImpl extends ManagerBase implements CAManager {
|
|||
|
||||
provisionCertificateViaSsh(sshConnection, hostIp, host.getName(), caProvider);
|
||||
|
||||
SSHCmdHelper.sshExecuteCmd(sshConnection, "sudo service libvirtd restart");
|
||||
SSHCmdHelper.sshExecuteCmd(sshConnection, "sudo service cloudstack-agent restart");
|
||||
SSHCmdHelper.sshExecuteCmd(sshConnection, "sudo systemctl restart libvirtd");
|
||||
SSHCmdHelper.sshExecuteCmd(sshConnection, "sudo systemctl restart cloudstack-agent");
|
||||
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue