]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
daemons: write pid file even when told not to daemonize 2535/head
authorAlexandre Oliva <oliva@gnu.org>
Thu, 31 Jul 2014 02:08:43 +0000 (23:08 -0300)
committerLoic Dachary <loic-201408@dachary.org>
Fri, 19 Sep 2014 14:32:51 +0000 (16:32 +0200)
commitd535fab6ac4a025541340ded0d3568f565acf1cd
tree481ad1b2579c8abad22b25687d7e9b9e5a52044a
parenta67f9152f128d693d160e5b08f2ac8b8bc83e8e0
daemons: write pid file even when told not to daemonize

systemd wants to run daemons in foreground, but daemons wouldn't write
out the pid file with -f.  Fixed.

Signed-off-by: Alexandre Oliva <oliva@gnu.org>
(cherry picked from commit bccb0eb64891f65fd475e96b6386494044cae8c1)
src/ceph_mon.cc
src/common/config.cc
src/global/global_init.cc