This file is indexed.

/etc/init/ceph-mon.conf is in ceph 0.80.7-2+deb8u2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
description "Ceph MON"

start on ceph-mon
stop on runlevel [!2345] or stopping ceph-mon-all

respawn
respawn limit 5 30

limit nofile 16384 16384

pre-start script
    set -e
    test -x /usr/bin/ceph-mon || { stop; exit 0; }
    test -d "/var/lib/ceph/mon/${cluster:-ceph}-$id" || { stop; exit 0; }

    install -d -m0755 /var/run/ceph
end script

instance ${cluster:-ceph}/$id
export cluster
export id

# this breaks oneiric
#usage "cluster = name of cluster (defaults to 'ceph'); id = monitor instance id"

exec /usr/bin/ceph-mon --cluster="${cluster:-ceph}" -i "$id" -f

post-stop script
    # Cleanup socket in case of segfault
    rm -f "/var/run/ceph/ceph-mon.$id.asok"
end script