4 stop on runlevel [!2345] or stopping ceph-mon-all
9 limit nofile 16384 16384
13 test -x /usr/bin/ceph-mon || { stop; exit 0; }
14 test -d "/var/lib/ceph/mon/${cluster:-ceph}-$id" || { stop; exit 0; }
16 install -d -m0770 -o ceph -g ceph /var/run/ceph
19 instance ${cluster:-ceph}/$id
24 #usage "cluster = name of cluster (defaults to 'ceph'); id = monitor instance id"
26 exec /usr/bin/ceph-mon --cluster="${cluster:-ceph}" -i "$id" -f --setuser ceph --setgroup ceph
29 # Cleanup socket in case of segfault
30 rm -f "/var/run/ceph/ceph-mon.$id.asok"