ungleich-tools/monit-start-all-from-commandline

9 lines
164 B
Text
Raw Normal View History

2021-12-30 21:53:18 +00:00
#!/bin/sh
for c in "$@"; do
echo $c
start=$(grep "start program" $c | sed -e 's/.*start program = "//' -e 's/".*//')
echo $start
( $start & )
done