2014-07-20 02:08:43 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Ceph metadata server daemon
|
2015-10-26 07:13:19 +00:00
|
|
|
PartOf=ceph-mds.target
|
2020-08-25 04:16:54 +00:00
|
|
|
After=network-online.target local-fs.target time-sync.target
|
|
|
|
Before=remote-fs-pre.target ceph-mds.target
|
|
|
|
Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-mds.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-05-09 21:41:47 +00:00
|
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
2015-06-26 11:13:33 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2024-02-13 07:00:58 +00:00
|
|
|
ExecStart=/usr/bin/ceph-mds -f --id %i --setuser ceph --setgroup ceph
|
2020-05-09 21:41:47 +00:00
|
|
|
LimitNOFILE=1048576
|
|
|
|
LimitNPROC=1048576
|
2019-02-01 19:48:00 +00:00
|
|
|
LockPersonality=true
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
NoNewPrivileges=true
|
2016-01-28 02:17:14 +00:00
|
|
|
PrivateDevices=yes
|
2020-05-09 21:41:47 +00:00
|
|
|
PrivateTmp=true
|
2019-02-01 19:48:00 +00:00
|
|
|
ProtectControlGroups=true
|
2016-01-28 02:17:14 +00:00
|
|
|
ProtectHome=true
|
2020-05-09 21:41:47 +00:00
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelLogs=true
|
2019-02-01 19:48:00 +00:00
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelTunables=true
|
2016-01-28 02:17:14 +00:00
|
|
|
ProtectSystem=full
|
2016-03-17 17:54:47 +00:00
|
|
|
Restart=on-failure
|
2020-05-09 21:41:47 +00:00
|
|
|
RestrictSUIDSGID=true
|
2016-03-17 17:54:47 +00:00
|
|
|
StartLimitBurst=3
|
2020-05-09 21:41:47 +00:00
|
|
|
StartLimitInterval=30min
|
|
|
|
TasksMax=infinity
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Install]
|
2015-10-26 07:13:19 +00:00
|
|
|
WantedBy=ceph-mds.target
|