[monit] fix ceph daemon pidfile
This commit is contained in:
parent
48202b533d
commit
3ccbd7cb10
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue