diff --git a/monit-ceph-create-start b/monit-ceph-create-start index bb707e7..2289c0f 100755 --- a/monit-ceph-create-start +++ b/monit-ceph-create-start @@ -12,16 +12,17 @@ to_monitor=$1 set -e -depends="" +depends="cephrundir" osd="" conf="/etc/monit/conf.d/$to_monitor" if echo $to_monitor | grep ^osd; then - depends="depends on ${to_monitor}-whoami" + depends="${depends}, ${to_monitor}-whoami" osd="yes" osdid=$(echo $to_monitor | cut -d. -f2) fi + cat > "$conf" <