remove ceph code
[stor4nfv.git] / src / ceph / src / upstart / ceph-mon.conf
diff --git a/src/ceph/src/upstart/ceph-mon.conf b/src/ceph/src/upstart/ceph-mon.conf
deleted file mode 100644 (file)
index 8911945..0000000
+++ /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