From 36b23a4bd9f40b8f31f48ef8dba4572d5232fbf3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 2 Jul 2020 21:42:46 +0200 Subject: [PATCH] adjust monit for broken init script / ceph osds --- monit-ceph-create-start | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/monit-ceph-create-start b/monit-ceph-create-start index 9b9cb58..afcac60 100755 --- a/monit-ceph-create-start +++ b/monit-ceph-create-start @@ -20,13 +20,26 @@ if echo $to_monitor | grep ^osd; then depends="${depends}, ${to_monitor}-whoami" osd="yes" osdid=$(echo $to_monitor | cut -d. -f2) -fi + cat > "$conf" < "$conf" < "$conf" <> "$conf" <