Commit cca4072e authored by Dietmar Maurer's avatar Dietmar Maurer

ceph: use setsid for service commands

parent 3f5368bb
......@@ -186,7 +186,9 @@ sub setup_pve_symlinks {
}
sub ceph_service_cmd {
PVE::Tools::run_command(['service', 'ceph', '-c', $pve_ceph_cfgpath, @_]);
# ceph daemons does not call 'setsid', so we do that ourself
# (fork_worker send KILL to whole process group)
PVE::Tools::run_command(['setsid', 'service', 'ceph', '-c', $pve_ceph_cfgpath, @_]);
}
sub list_disks {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment