]> git.proxmox.com Git - ceph.git/blame - ceph/systemd/ceph-mon@.service
update sources to v12.1.1
[ceph.git] / ceph / systemd / ceph-mon@.service
CommitLineData
7c673cae
FG
1[Unit]
2Description=Ceph cluster monitor daemon
3
4# According to:
5# http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
6# these can be removed once ceph-mon will dynamically change network
7# configuration.
8After=network-online.target local-fs.target time-sync.target
224ce89b 9Wants=network-online.target local-fs.target time-sync.target
7c673cae
FG
10
11PartOf=ceph-mon.target
12
13[Service]
14LimitNOFILE=1048576
15LimitNPROC=1048576
16EnvironmentFile=-/etc/sysconfig/ceph
17Environment=CLUSTER=ceph
18ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
19ExecReload=/bin/kill -HUP $MAINPID
20PrivateDevices=yes
21ProtectHome=true
22ProtectSystem=full
23PrivateTmp=true
24TasksMax=infinity
25Restart=on-failure
26StartLimitInterval=30min
27StartLimitBurst=5
28RestartSec=10
29
30[Install]
31WantedBy=ceph-mon.target