2014-07-20 02:08:43 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Ceph cluster monitor daemon
|
2014-08-27 16:22:59 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
# According to:
|
|
|
|
# http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
|
|
|
|
# these can be removed once ceph-mon will dynamically change network
|
|
|
|
# configuration.
|
2014-12-01 13:32:48 +00:00
|
|
|
After=network-online.target local-fs.target
|
|
|
|
Wants=network-online.target local-fs.target
|
|
|
|
PartOf=ceph.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
|
|
Environment=CLUSTER=ceph
|
|
|
|
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
|
|
|
|
|
|
|
|
[Install]
|
2014-12-01 13:32:48 +00:00
|
|
|
WantedBy=ceph.target
|