From: Loic Dachary Date: Sun, 25 May 2014 09:05:10 +0000 (+0200) Subject: documentation: update pid file description X-Git-Tag: v0.82~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1867%2Fhead;p=ceph.git 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 --- 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``