#!/bin/sh
path_process_list=/opt/process.list
cat $path_process_list | while read i
do
if [ x"$(ps -Af | grep "$i" | grep -v grep)" == x"" ] ; then
$i &
fi
done
#!/bin/sh
path_process_list=/opt/process.list
cat $path_process_list | while read i
do
if [ x"$(ps -Af | grep "$i" | grep -v grep)" == x"" ] ; then
$i &
fi
done