Changeset 2274 in /cluster/svnroot


Ignore:
Timestamp:
Mar 22, 2010 11:36:59 AM (11 years ago)
Author:
fitz
Message:

Quick fix for mpd slow-start issue (#473)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/trunk/trees/etc/init.d/mpd

    r2259 r2274  
    2525        if test "`hostname`" == "$HEADNODE"; then
    2626                PORT=$(($RANDOM+32767))
    27                 /bin/nc -z `hostname` $PORT
     27                /bin/nc -z localhost $PORT
    2828
    2929                while [ $? -eq 0 ]; do
    3030                        PORT=$(($RANDOM+32767))
    31                         /bin/nc -z `hostname` $PORT
     31                        /bin/nc -z localhost $PORT
    3232                done
    3333                echo $PORT > /etc/snmp/mpd.port
Note: See TracChangeset for help on using the changeset viewer.