2014-07-20 02:08:43 +00:00
|
|
|
[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.
|
2015-07-29 19:10:36 +00:00
|
|
|
After=network-online.target local-fs.target ceph-create-keys@%i.service
|
|
|
|
Wants=network-online.target local-fs.target ceph-create-keys@%i.service
|
|
|
|
|
2015-10-26 07:13:19 +00:00
|
|
|
PartOf=ceph-mon.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Service]
|
2015-09-14 14:54:53 +00:00
|
|
|
LimitNOFILE=1048576
|
2015-09-17 22:28:38 +00:00
|
|
|
LimitNPROC=1048576
|
2014-07-20 02:08:43 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
|
|
Environment=CLUSTER=ceph
|
2015-08-06 15:57:57 +00:00
|
|
|
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
2015-06-26 11:13:33 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Install]
|
2015-10-26 07:13:19 +00:00
|
|
|
WantedBy=ceph-mon.target
|