]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
documentation: update pid file description 1867/head
authorLoic Dachary <loic@dachary.org>
Sun, 25 May 2014 09:05:10 +0000 (11:05 +0200)
committerLoic Dachary <loic@dachary.org>
Sun, 25 May 2014 09:05:10 +0000 (11:05 +0200)
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 <loic@dachary.org>
doc/rados/configuration/general-config-ref.rst

index abc42c578c4d71c906e5a63e5a3123eea77276ab..ca09ee5b40c521532f9550133118a8f8ab421f76 100644 (file)
 
 ``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``