From 4d1bb04557f8014e21424a017622a211e75ea6ad Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 22 Feb 2018 13:22:02 +0100 Subject: [PATCH] Race condition? Sleep after creating service --- monit-ceph-create-start | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monit-ceph-create-start b/monit-ceph-create-start index b9831ca..0f21297 100755 --- a/monit-ceph-create-start +++ b/monit-ceph-create-start @@ -10,6 +10,8 @@ fi to_monitor=$1 +set -e +set -x cat > "/etc/monit/conf-enabled/$to_monitor" <