X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fupstart%2Fceph-mon.conf;fp=src%2Fceph%2Fsrc%2Fupstart%2Fceph-mon.conf;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=89119457b9c2863077803e01abd452cf54b9b3d3;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/upstart/ceph-mon.conf b/src/ceph/src/upstart/ceph-mon.conf deleted file mode 100644 index 8911945..0000000 --- a/src/ceph/src/upstart/ceph-mon.conf +++ /dev/null @@ -1,31 +0,0 @@ -description "Ceph MON" - -start on ceph-mon -stop on runlevel [!2345] or stopping ceph-mon-all - -respawn -respawn limit 3 1800 - -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 -m0770 -o ceph -g ceph /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 --setuser ceph --setgroup ceph - -post-stop script - # Cleanup socket in case of segfault - rm -f "/var/run/ceph/ceph-mon.$id.asok" -end script