]> git.pld-linux.org Git - packages/Zope.git/blob - Zope-zserver.sh
- removed orphan source
[packages/Zope.git] / Zope-zserver.sh
1 #! /bin/sh
2
3 PATH="/bin:/usr/bin:/usr/sbin:/sbin"
4
5 # Zope root folder
6 ZOPE_HOME=/usr/lib/zope
7
8 # product instalation location
9 INSTANCE_HOME=/var/lib/zope
10 INST_HOME=${INSTANCE_HOME}
11
12 # lacalization of pid and log files for ZOE
13 CLIENT_HOME=/var/lib/zope
14
15 export INST_HOME INSTANCE_HOME ZOPE_HOME PATH CLIENT_HOME
16
17 # user to run Zope
18 ZOPE_USER=zope
19
20 # put !0 to create separate management process
21 CREATE_MANAGEMENT=yes
22
23 # initial NUMBER_OF_THREADS
24 NUMBER_OF_THREADS=4
25
26 # DEBUG_MODE
27 DEBUG_MODE=0
28
29 # ip address
30 IP_ADDRESS=''
31
32 # HTTP_PORT
33 HTTP_PORT=18080
34
35 # FTP_PORT
36 FTP_PORT=18021
37
38 # MONITOR_PORT... if equals '-' then monitor server is disabled
39 MONITOR_PORT='-'
40
41 # LOG_FILE
42 LOG_FILE=/var/log/zope
43
44 # DET_LOG_FILE... detailed log file
45 DET_LOG_FILE=/var/log/zope.detailed
46
47 # internationalization
48 LOC='pl_PL'
49
50 exec python $ZOPE_HOME/z2.py            \
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          \
64         &
This page took 0.024805 seconds and 3 git commands to generate.