summaryrefslogtreecommitdiffstats
path: root/debian/lib-systemd/system/ceph-mds.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lib-systemd/system/ceph-mds.service')
-rw-r--r--debian/lib-systemd/system/ceph-mds.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/lib-systemd/system/ceph-mds.service b/debian/lib-systemd/system/ceph-mds.service
new file mode 100644
index 00000000..86ff057f
--- /dev/null
+++ b/debian/lib-systemd/system/ceph-mds.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Ceph metadata server daemon (MDS)
+Documentation=man:ceph-mds
+After=network-online.target nss-lookup.target
+Wants=network-online.target nss-lookup.target
+PartOf=ceph.target
+
+[Service]
+LimitNOFILE=1048576
+LimitNPROC=1048576
+EnvironmentFile=-/etc/default/ceph
+Environment=CLUSTER=ceph
+ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %H --setuser ceph --setgroup ceph
+
+[Install]
+WantedBy=multi-user.target