Displaying 1 result from an estimated 1 matches for "is_al".
Did you mean:
is_a
2009 Aug 27
1
Fatal: Dovecot is already running
...ied to launch, and dovecot would never come up as a result. Below
is the script I'm using, which includes a check for MySQL:
#!/bin/sh
# A script to automatically start up policyd on system bootup
. /etc/rc.common
ConsoleMessage "dovecot - setting up"
# wait for mysql start up
IS_ALIVE=`/usr/local/mysql/bin/mysqladmin -umysql ping | grep -c
'alive'`
while [ "$IS_ALIVE" != "1" ];
do
sleep 5
ConsoleMessage "dovecot - waiting for MySQL"
IS_ALIVE=`/usr/local/mysql/bin/mysqladmin -umysql ping | grep -c
'alive'`
done
StartService (...