ungleich-tools/ceph/start-all-monit-osds.sh

5 lines
162 B
Bash
Raw Normal View History

2022-02-01 14:37:23 +00:00
#!/bin/sh
# 2022-02-01
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done