]>
Commit | Line | Data |
---|---|---|
b6163d67 JK |
1 | [Unit] |
2 | Description=Ceph cluster monitor daemon | |
3 | After=network-online.target | |
4 | Wants=network-online.target | |
5 | ||
6 | # According to: | |
7 | # http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget | |
8 | # these can be removed once ceph-mon will dynamically change network | |
9 | # configuration. | |
10 | After=network-online.target local-fs.target | |
11 | Wants=network-online.target local-fs.target | |
12 | PartOf=ceph.target | |
13 | ||
14 | [Service] | |
15 | EnvironmentFile=-/etc/sysconfig/ceph | |
16 | Environment=CLUSTER=ceph | |
17 | ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i | |
0bb0fd1a | 18 | ExecReload=/bin/kill -HUP $MAINPID |
b6163d67 JK |
19 | |
20 | [Install] | |
21 | WantedBy=ceph.target |