mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:47:41 +00:00
ceph: use setsid for service commands
This commit is contained in:
parent
5374d54f21
commit
c3959a072b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user