mirror of
https://github.com/ceph/ceph
synced 2024-12-23 03:44:23 +00:00
517670926a
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
27 lines
666 B
SYSTEMD
27 lines
666 B
SYSTEMD
[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]
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
|
Environment=CLUSTER=ceph
|
|
ExecStart=/usr/bin/ceph-fuse -f --cluster ${CLUSTER} %I
|
|
LockPersonality=true
|
|
MemoryDenyWriteExecute=true
|
|
NoNewPrivileges=true
|
|
# ceph-fuse requires access to /dev fuse device
|
|
PrivateDevices=no
|
|
ProtectControlGroups=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
TasksMax=infinity
|
|
Restart=on-failure
|
|
StartLimitInterval=30min
|
|
StartLimitBurst=3
|
|
|
|
[Install]
|
|
WantedBy=ceph-fuse.target
|