/lib/systemd/system/ceph-mon.service is in ceph-mon 12.2.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|