]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-conf: no admin_socket 1545/head
authorSage Weil <sage@inktank.com>
Thu, 27 Mar 2014 19:30:39 +0000 (12:30 -0700)
committerSage Weil <sage@inktank.com>
Thu, 27 Mar 2014 19:30:39 +0000 (12:30 -0700)
We don't need to worry about pidfile because that is done by the fork
functions, which ceph-conf doesn't call.

Signed-off-by: Sage Weil <sage@inktank.com>
src/tools/ceph_conf.cc

index 99de8b8cfcf118ad7966d5932b2caa9ec5bbaece..9403d3ae061e638bea8feac17b647ea7976f1b57 100644 (file)
@@ -162,6 +162,8 @@ int main(int argc, const char **argv)
   args.push_back("");
   args.push_back("--no-log-to-stderr");
   args.push_back("--no-log-to-syslog");
+  args.push_back("--admin-socket");
+  args.push_back("");
 
   global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_DAEMON,
              CINIT_FLAG_NO_DAEMON_ACTIONS);