From 641732d59c93ddcf746da6e187d741c407448db4 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 25 May 2014 11:05:10 +0200 Subject: [PATCH] documentation: update pid file description The pid file behavior changed over time and the description is misleading. http://tracker.ceph.com/issues/8324 Fixes: #8324 Signed-off-by: Loic Dachary --- doc/rados/configuration/general-config-ref.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/rados/configuration/general-config-ref.rst b/doc/rados/configuration/general-config-ref.rst index abc42c578c4d..ca09ee5b40c5 100644 --- a/doc/rados/configuration/general-config-ref.rst +++ b/doc/rados/configuration/general-config-ref.rst @@ -23,13 +23,16 @@ ``pid file`` -:Description: Each running Ceph daemon has a running - process identifier (PID) file. - +:Description: The file in which the mon, osd or mds will write its + PID. For instance, ``/var/run/$cluster/$type.$id.pid`` + will create /var/run/ceph/mon.a.pid for the ``mon`` with + id ``a`` running in the ``ceph`` cluster. The ``pid + file`` is removed when the daemon stops gracefully. If + the process is not daemonized (i.e. runs with the ``-f`` + or ``-d`` option), the ``pid file`` is not created. :Type: String :Required: No -:Default: N/A. The default path is ``/var/run/$cluster/$name.pid``. The - PID file is generated upon start-up. +:Default: No ``chdir`` -- 2.47.3