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.
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
|
|
Environment=CLUSTER=ceph
|
|
|
|
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|