]> git.proxmox.com Git - ceph.git/blame - ceph/systemd/ceph-radosgw@.service.in
Import ceph 15.2.8
[ceph.git] / ceph / systemd / ceph-radosgw@.service.in
CommitLineData
7c673cae
FG
1[Unit]
2Description=Ceph rados gateway
7c673cae 3PartOf=ceph-radosgw.target
f91f0fd5
TL
4After=network-online.target local-fs.target time-sync.target
5Before=remote-fs-pre.target ceph-radosgw.target
6Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-radosgw.target
7c673cae
FG
7
8[Service]
9LimitNOFILE=1048576
10LimitNPROC=1048576
11fdf7f2 11EnvironmentFile=-@SYSTEMD_ENV_FILE@
7c673cae
FG
12Environment=CLUSTER=ceph
13ExecStart=/usr/bin/radosgw -f --cluster ${CLUSTER} --name client.%i --setuser ceph --setgroup ceph
11fdf7f2
TL
14LockPersonality=true
15MemoryDenyWriteExecute=true
16NoNewPrivileges=true
7c673cae 17PrivateDevices=yes
11fdf7f2 18ProtectControlGroups=true
7c673cae 19ProtectHome=true
11fdf7f2
TL
20ProtectKernelModules=true
21ProtectKernelTunables=true
7c673cae
FG
22ProtectSystem=full
23PrivateTmp=true
24TasksMax=infinity
25Restart=on-failure
26StartLimitInterval=30s
27StartLimitBurst=5
28
29[Install]
30WantedBy=ceph-radosgw.target