2015-03-18 09:17:05 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Ceph rados gateway
|
2015-10-26 07:13:19 +00:00
|
|
|
PartOf=ceph-radosgw.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-radosgw.target
|
|
|
|
Wants=network-online.target local-fs.target time-sync.target remote-fs-pre.target ceph-radosgw.target
|
2015-03-18 09:17:05 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-05-09 21:41:47 +00:00
|
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
2024-02-13 07:00:58 +00:00
|
|
|
ExecStart=/usr/bin/radosgw -f --name client.%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=5
|
2020-05-09 21:41:47 +00:00
|
|
|
StartLimitInterval=30s
|
|
|
|
TasksMax=infinity
|
2015-03-18 09:17:05 +00:00
|
|
|
|
|
|
|
[Install]
|
2015-10-26 07:13:19 +00:00
|
|
|
WantedBy=ceph-radosgw.target
|