-
GNUmakefile
570 571 758 758 elsif (lc "${CRONOLOG_ENABLE}" eq "yes") { print " -DCRONOLOG"; } \ 759 759 else { print " -DFILELOG"; }'`; \ 760 760 if [ "${LIMIT_VMEMORY_HTTPD}" ]; then \ 761 LIMITS="${LIMIT_CMD} -v ${LIMIT_VMEMORY_HTTPD}"; \ 762 fi; \ 761 if [ x`uname` = x"FreeBSD" ]; then \ 762 LIMITS="${LIMIT_CMD} -v ${LIMIT_VMEMORY_HTTPD}"; \ 763 else \ 764 # echo "LIMIT_VMEMORY_HTTPD=${LIMIT_VMEMORY_HTTPD}"; \ 765 _exp=`expr "${LIMIT_VMEMORY_HTTPD}" : '.*\(.\)'`; \ 766 # echo _exp=$${_exp}; \ 767 _value=`expr "${LIMIT_VMEMORY_HTTPD}" : '\(.*\).'`; \ 768 # echo _value=$${_value}; \ 769 if [ "$${_exp}" = "m" ]; then \ 770 _value=`expr $$_value \* 1024 `; \ 771 fi; \ 772 # echo _value=$${_value}; \ 773 LIMITS="ulimit -S -v $${_value}"; \ 774 echo "DEBUG: running on Linux, LIMITS='$${LIMITS}'"; \ 775 fi; \ 776 fi; \ 763 777 if [ "$${ALIVE}" = "YES" ]; then \ 764 778 echo "WARNING: apache for project '${PROJECT}' already running"; \ 765 779 else \ 780 [ x`uname` = x"Linux" ] && $${LIMITS} && LIMITS=""; \ 766 781 if $${LIMITS} ${LOCAL}/apache/bin/httpd $${FLAGS} \ 767 782 -d ${PROJ_USR}/${PROJECT}/ \ 768 783 -f ${PROJ_USR}/${PROJECT}/conf/apache/httpd.conf; then \