]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Bring daemonization in line with other daemons
authorDavid Zafman <dzafman@redhat.com>
Tue, 9 May 2017 23:52:15 +0000 (16:52 -0700)
committerDavid Zafman <dzafman@redhat.com>
Fri, 23 Jun 2017 15:02:50 +0000 (08:02 -0700)
commit19da3e8441a5055a2946c88eabb7ddf14c92c144
treeb9396643c98094a107712199007ba8d23c6fe70f
parent6e5f3cdc69842976f9de97fa7caae1e77946f904
mon: Bring daemonization in line with other daemons

ceph-mon doesn't use the global_init_daemonize() as the other
daemons do.  This resulted in the daemon staying in the session
of the process that started it.  In testing if I terminated a
test script only ceph-mon would be exit.

Signed-off-by: David Zafman <dzafman@redhat.com>
src/ceph_mon.cc