mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +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>
21 lines
545 B
Desktop File
21 lines
545 B
Desktop File
[Unit]
|
|
Description=Ceph cluster monitor daemon
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
# According to:
|
|
# http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
|
|
# these can be removed once ceph-mon will dynamically change network
|
|
# configuration.
|
|
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-mon -f --cluster ${CLUSTER} --id %i
|
|
|
|
[Install]
|
|
WantedBy=ceph.target
|