2016-10-19 00:20:34 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Ceph FUSE client
|
|
|
|
After=network-online.target local-fs.target time-sync.target
|
|
|
|
Wants=network-online.target local-fs.target time-sync.target
|
|
|
|
Conflicts=umount.target
|
|
|
|
PartOf=ceph-fuse.target
|
|
|
|
|
|
|
|
[Service]
|
2020-05-09 21:41:47 +00:00
|
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
2024-02-13 07:00:58 +00:00
|
|
|
ExecStart=/usr/bin/ceph-fuse -f %I
|
2019-02-01 19:48:00 +00:00
|
|
|
LockPersonality=true
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
NoNewPrivileges=true
|
|
|
|
# ceph-fuse requires access to /dev fuse device
|
|
|
|
PrivateDevices=no
|
|
|
|
ProtectControlGroups=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-10-19 00:20:34 +00:00
|
|
|
Restart=on-failure
|
2020-05-09 21:41:47 +00:00
|
|
|
RestrictSUIDSGID=true
|
2016-10-19 00:20:34 +00:00
|
|
|
StartLimitBurst=3
|
2020-05-09 21:41:47 +00:00
|
|
|
StartLimitInterval=30min
|
|
|
|
TasksMax=infinity
|
2016-10-19 00:20:34 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=ceph-fuse.target
|