[monit] fix ceph daemon pidfile

This commit is contained in:
Nico Schottelius 2021-02-07 13:27:51 +01:00
parent 48202b533d
commit 3ccbd7cb10

View file

@ -33,7 +33,7 @@ esac
cat >> "$conf" <<EOF
# Generated by $0
check process ${to_monitor} with pidfile /var/run/ceph/${to_monitor}.pid
start program = "/usr/bin/ceph-${daemon} -i ${id} --pid-file /var/run/ceph/osd.${id}.pid -c /etc/ceph/ceph.conf --cluster ceph --setuser ceph --setgroup ceph" with timeout 3600 seconds
start program = "/usr/bin/ceph-${daemon} -i ${id} --pid-file /var/run/ceph/${daemon}.${id}.pid -c /etc/ceph/ceph.conf --cluster ceph --setuser ceph --setgroup ceph" with timeout 3600 seconds
stop program = "/usr/bin/pkill -f '/usr/bin/ceph-${daemon} -i ${id}'"
depends on $depends