mirror of
https://github.com/ceph/ceph
synced 2025-01-09 04:30:26 +00:00
18 lines
444 B
SYSTEMD
18 lines
444 B
SYSTEMD
|
[Unit]
|
||
|
Description=Ceph cluster monitor daemon
|
||
|
|
||
|
# 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
|