No suffix for the process
This commit is contained in:
parent
f35839e30e
commit
e8342c2812
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ fi
|
||||||
|
|
||||||
cat > "$conf" <<EOF
|
cat > "$conf" <<EOF
|
||||||
# Generated by $0
|
# Generated by $0
|
||||||
check process ${to_monitor}-process with pidfile /var/run/ceph/${to_monitor}.pid
|
check process ${to_monitor} with pidfile /var/run/ceph/${to_monitor}.pid
|
||||||
start program = "/etc/init.d/ceph start ${to_monitor}" with timeout 60 seconds
|
start program = "/etc/init.d/ceph start ${to_monitor}" with timeout 60 seconds
|
||||||
stop program = "/etc/init.d/ceph stop ${to_monitor}"
|
stop program = "/etc/init.d/ceph stop ${to_monitor}"
|
||||||
|
|
||||||
|
@ -43,4 +43,4 @@ fi
|
||||||
|
|
||||||
monit reload
|
monit reload
|
||||||
sleep 1
|
sleep 1
|
||||||
monit start "$to_monitor"
|
monit start "${to_monitor}"
|
||||||
|
|
Loading…
Reference in a new issue