This commit changes the method to systemctl from docker.
This is because services are managed systemd, not docker.
Also fixes a typo in service name.
Fixes: https://tracker.ceph.com/issues/66742
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
def kill_cmd(self, sig):
return ' '.join([
- 'sudo', 'docker', 'kill',
+ 'sudo', 'systemctl', 'kill',
'-s', str(int(sig)),
- 'ceph-%s-%s.%s' % (self.fsid, self.type_, self.id_),
+ 'ceph-%s@%s.%s' % (self.fsid, self.type_, self.id_),
])
def _start_logger(self):