Lines 77-82
Link Here
|
77 |
;; |
77 |
;; |
78 |
esac |
78 |
esac |
79 |
if [ -n "${fcgiwrap_socket_mode}" ]; then |
79 |
if [ -n "${fcgiwrap_socket_mode}" ]; then |
|
|
80 |
# wait up to 4s for the socket file to be created |
81 |
for I in $(seq 1 20); do |
82 |
[ -e ${fcgiwrap_socket#unix:} ] && break |
83 |
sleep .2 |
84 |
done |
80 |
chmod ${fcgiwrap_socket_mode} ${fcgiwrap_socket#unix:} |
85 |
chmod ${fcgiwrap_socket_mode} ${fcgiwrap_socket#unix:} |
81 |
fi |
86 |
fi |
82 |
if [ -n "${fcgiwrap_socket_owner}" ]; then |
87 |
if [ -n "${fcgiwrap_socket_owner}" ]; then |