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