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