mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
929fcd67aa
Added ceph.target Made ceph-mds, ceph-mon, ceph-osd services part of ceph.target Made ceph-mds, ceph-mon, ceph-osd services require partitions to be available. Added ceph init script with sysV like behaviour. Provided by Tim Serong tserong@suse.com and Owen Synge osynge@suse.com Signed-off-by: Owen Synge <osynge@suse.com>
15 lines
399 B
Desktop File
15 lines
399 B
Desktop File
[Unit]
|
|
Description=Ceph object storage daemon
|
|
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/ceph-osd -f --cluster ${CLUSTER} --id %i
|
|
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
|
|
|
|
[Install]
|
|
WantedBy=ceph.target
|