mailinabox/services/postgrey.sh

11 lines
143 B
Bash
Raw Normal View History

2015-01-24 10:29:16 +00:00
#!/bin/bash
PROCESS=postgrey
/etc/init.d/$PROCESS start
while [ `ps aux | grep $PROCESS | grep -v grep | wc -l` -gt 0 ]; do
sleep 30
done