Add script for removing ceph monitors

This commit is contained in:
Nico Schottelius 2018-05-30 13:57:04 +02:00
commit b18e0bd999
2 changed files with 22 additions and 3 deletions

View file

@ -10,9 +10,11 @@ fi
to_monitor=$1
set -e
conf="/etc/monit/conf.d/$to_monitor"
monit stop "$to_monitor"
sleep 1
rm -f "$conf"
monit reload
/etc/init.d/monit restart