summaryrefslogtreecommitdiffstats
path: root/debian/lib-systemd/system/ceph-mon.service
blob: d89c74a64faec28cb767e168dd9b2d4057fdfc96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Ceph cluster monitor daemon
Documentation=man:ceph-mon

After=network-online.target local-fs.target ceph-create-keys.service
Wants=network-online.target local-fs.target ceph-create-keys.service

PartOf=ceph.target

[Service]
LimitNOFILE=1048576
LimitNPROC=1048576
EnvironmentFile=-/etc/default/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %H --setuser ceph --setgroup ceph
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=30
TasksMax=infinity

[Install]
WantedBy=multi-user.target