Lines 61-71
checkconfig() {
Link Here
|
61 |
checkpath --directory /run/apache_ssl_mutex |
61 |
checkpath --directory /run/apache_ssl_mutex |
62 |
checkconfd || return 1 |
62 |
checkconfd || return 1 |
63 |
|
63 |
|
64 |
${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1 |
64 |
OUTPUT=$( ${APACHE2} ${APACHE2_OPTS} -t 2>&1 ) |
65 |
ret=$? |
65 |
ret=$? |
66 |
if [ $ret -ne 0 ]; then |
66 |
if [ $ret -ne 0 ]; then |
67 |
eerror "${SVCNAME} has detected an error in your setup:" |
67 |
eerror "${SVCNAME} has detected an error in your setup:" |
68 |
${APACHE2} ${APACHE2_OPTS} -t |
68 |
printf "%s\n" "${OUTPUT}" |
69 |
fi |
69 |
fi |
70 |
|
70 |
|
71 |
return $ret |
71 |
return $ret |
72 |
- |
|
|