ungleich-tools/monit-start-all-from-commandline
Nico Schottelius efdfb94c72 ++monit script
2021-12-30 22:53:18 +01:00

8 lines
164 B
Bash

#!/bin/sh
for c in "$@"; do
echo $c
start=$(grep "start program" $c | sed -e 's/.*start program = "//' -e 's/".*//')
echo $start
( $start & )
done