]> git.proxmox.com Git - ceph.git/blob - ceph/systemd/ceph-mds@.service.in
update source to Ceph Pacific 16.2.2
[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 Environment=CLUSTER=ceph
10 EnvironmentFile=-@SYSTEMD_ENV_FILE@
11 ExecReload=/bin/kill -HUP $MAINPID
12 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
13 LimitNOFILE=1048576
14 LimitNPROC=1048576
15 LockPersonality=true
16 MemoryDenyWriteExecute=true
17 NoNewPrivileges=true
18 PrivateDevices=yes
19 PrivateTmp=true
20 ProtectClock=true
21 ProtectControlGroups=true
22 ProtectHome=true
23 ProtectHostname=true
24 ProtectKernelLogs=true
25 ProtectKernelModules=true
26 ProtectKernelTunables=true
27 ProtectSystem=full
28 Restart=on-failure
29 RestrictSUIDSGID=true
30 StartLimitBurst=3
31 StartLimitInterval=30min
32 TasksMax=infinity
33
34 [Install]
35 WantedBy=ceph-mds.target