mirror of
https://github.com/ceph/ceph
synced 2025-01-18 00:43:38 +00:00
fbc85e3ce1
Added a radosgw systemd support and associated prestart script. - With improved checking over first revison. - ceph-radosgw-prestart.sh now installed in /usr/lib/ceph-radosgw Signed-off-by: Owen Synge <osynge@suse.com>
16 lines
441 B
Desktop File
16 lines
441 B
Desktop File
[Unit]
|
|
Description=Ceph rados gateway
|
|
After=network-online.target local-fs.target
|
|
Wants=network-online.target local-fs.target
|
|
PartOf=ceph.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
Environment=CLUSTER=ceph
|
|
ExecStart=/usr/bin/radosgw -f --conf /etc/ceph/${CLUSTER}.conf --name client.radosgw.%i
|
|
ExecStartPre=/usr/lib/ceph-radosgw/ceph-radosgw-prestart.sh --cluster ${CLUSTER} --name %i
|
|
User=wwwrun
|
|
|
|
[Install]
|
|
WantedBy=ceph.target
|