Lines 58-67
Link Here
|
58 |
ebegin "Starting Postgrey" |
58 |
ebegin "Starting Postgrey" |
59 |
# HACK -- start a subshell and corrects perms on the socket... |
59 |
# HACK -- start a subshell and corrects perms on the socket... |
60 |
( if [ "x${POSTGREY_TYPE}" = "xunix" ]; then |
60 |
if [ "x${POSTGREY_TYPE}" = "xunix" ]; then |
61 |
rm -f ${POSTGREY_SOCKET}; |
61 |
rm -f ${POSTGREY_SOCKET} |
62 |
while ! test -S ${POSTGREY_SOCKET}; do sleep 1; done; |
62 |
( while ! test -S ${POSTGREY_SOCKET}; do sleep 1; done; chmod a+rw,a-x ${POSTGREY_SOCKET} ) & |
63 |
chmod a+rw,a-x ${POSTGREY_SOCKET}; fi ) & |
63 |
fi |
64 |
if [ -z ${POSTGREY_DELAY} ] ; then |
64 |
if [ -z ${POSTGREY_DELAY} ] ; then |
65 |
POSTGREY_DELAY_ARG="" |
65 |
POSTGREY_DELAY_ARG="" |