]> git.proxmox.com Git - ceph.git/blob - ceph/systemd/ceph-mds@.service.in
Import ceph 15.2.8
[ceph.git] / ceph / systemd / ceph-mds@.service.in
1 [Unit]
2 Description=Ceph metadata server daemon
3 PartOf=ceph-mds.target
4 After=network-online.target local-fs.target time-sync.target
5 Before=remote-fs-pre.target ceph-mds.target
6 Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-mds.target
7
8 [Service]
9 LimitNOFILE=1048576
10 LimitNPROC=1048576
11 EnvironmentFile=-@SYSTEMD_ENV_FILE@
12 Environment=CLUSTER=ceph
13 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
14 ExecReload=/bin/kill -HUP $MAINPID
15 LockPersonality=true
16 MemoryDenyWriteExecute=true
17 NoNewPrivileges=true
18 PrivateDevices=yes
19 ProtectControlGroups=true
20 ProtectHome=true
21 ProtectKernelModules=true
22 ProtectKernelTunables=true
23 ProtectSystem=full
24 PrivateTmp=true
25 TasksMax=infinity
26 Restart=on-failure
27 StartLimitInterval=30min
28 StartLimitBurst=3
29
30 [Install]
31 WantedBy=ceph-mds.target