Revision 571
- Date:
- 2016/04/27 15:44:25
- Files:
Legend:
- Added
- Removed
- Modified
-
koi8/core/config.mk
1 1 ############################################################################## 2 # $HeadURL$ 3 # $Id$ 2 # 4 3 ############################################################################### 5 4 6 5 # independent required … … 32 31 CORE_REQUIRED += Log-Dispatch 33 32 CORE_REQUIRED += Text-Wrapper 34 33 34 OPSYS ?= ${shell uname} 35 ifeq (${OPSYS},Linux) 36 CORE_REQUIRED += Linux-Pid 37 endif 38 35 39 # depends on DB_TYPE 36 40 ifeq (${DB_TYPE},SINGLE) 37 41 CORE_REQUIRED += postgresql -
koi8/core/GNUmakefile
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 \