]> git.pld-linux.org Git - packages/Zope.git/blame - Zope-zserver.sh
- LSB conformance changes
[packages/Zope.git] / Zope-zserver.sh
CommitLineData
8bc946c6 1#! /bin/sh
8bc946c6 2
3PATH="/bin:/usr/bin:/usr/sbin:/sbin"
3f83198c
MK
4
5# Zope root folder
8bc946c6 6ZOPE_HOME=/usr/lib/zope
3f83198c
MK
7
8# product instalation location
8bc946c6 9INSTANCE_HOME=/var/lib/zope
10INST_HOME=${INSTANCE_HOME}
3f83198c
MK
11
12# lacalization of pid and log files for ZOE
8bc946c6 13CLIENT_HOME=/var/lib/zope
14
15export INST_HOME INSTANCE_HOME ZOPE_HOME PATH CLIENT_HOME
16
3f83198c
MK
17# user to run Zope
18ZOPE_USER=zope
19
20# put !0 to create separate management process
21CREATE_MANAGEMENT=yes
22
23# initial NUMBER_OF_THREADS
24NUMBER_OF_THREADS=4
25
26# DEBUG_MODE
27DEBUG_MODE=0
28
29# ip address
30IP_ADDRESS=''
31
32# HTTP_PORT
33HTTP_PORT=18080
34
35# FTP_PORT
36FTP_PORT=18021
37
38# MONITOR_PORT... if equals '-' then monitor server is disabled
39MONITOR_PORT='-'
40
41# LOG_FILE
42LOG_FILE=/var/log/zope
43
44# DET_LOG_FILE... detailed log file
45DET_LOG_FILE=/var/log/zope.detailed
46
47# internationalization
48LOC='pl_PL'
49
8bc946c6 50exec python $ZOPE_HOME/z2.py \
3f83198c
MK
51 -u $ZOPE_USER \
52 -z $ZOPE_HOME \
53 -w $HTTP_PORT \
54 -f $FTP_PORT \
55 -m $MONITOR_PORT \
56 -L $LOC \
57 -Z $CREATE_MANAGEMENT \
58 -a $IP_ADDRESS \
59 -t $NUMBER_OF_THREADS \
60 -D $DEBUG_MODE \
61 -M $DET_LOG_FILE \
62 -l $LOG_FILE \
63 >> $LOG_FILE 2>&1 \
8bc946c6 64 &
This page took 0.083782 seconds and 4 git commands to generate.