++monit script
This commit is contained in:
parent
d0db1ef9ec
commit
efdfb94c72
1 changed files with 8 additions and 0 deletions
8
monit-start-all-from-commandline
Normal file
8
monit-start-all-from-commandline
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
for c in "$@"; do
|
||||
echo $c
|
||||
start=$(grep "start program" $c | sed -e 's/.*start program = "//' -e 's/".*//')
|
||||
echo $start
|
||||
( $start & )
|
||||
done
|
Loading…
Reference in a new issue