11 lines
142 B
Bash
11 lines
142 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
PROCESS=postfix
|
||
|
|
||
|
/etc/init.d/$PROCESS start
|
||
|
|
||
|
while [ `ps aux | grep $PROCESS | grep -v grep | wc -l` -gt 0 ]; do
|
||
|
sleep 30
|
||
|
done
|
||
|
|