# -*- sh -*- $Id: options,v 1.3 2003/03/16 04:53:55 david Exp $

# This file contains options for the default zope instance,
# i.e. the one created by the zope package itself.
# (It uses an sh-like syntax for commenting, but only supports
# valid zope command-line options -- it is NOT
# a shell script.)

# You may set any options that are valid for zope
# -- the complete documentation on the available options is
# at the top /usr/sbin/zope-z2

# ------------ Required (may be the same for multiple instances) ---------------
-u www-data  # the name of the user this zope instance will run as
         # if you change the user, you should also give the directories
         # and files in INSTANCE_HOME (/var/lib/zope/instance/<instance_name>)
         # and the log directory (/var/log/zope/instance/<instance_name>) to
         # the new user.   This user must exist before this instance
         # will be able to be started.

# ------------ Required (*must* be different for each instance) IPs and Ports --------

-X # clear all default or previously-set ip and/or port options
-w 127.0.0.1:9673 # web server
-f 127.0.0.1:8021 # ftp server (useful for editing zope site content with emacs, among other things)


# ---- performance options -- see zope-z2.py for details -------------
# -t 4		# number of threads
# -i 500 	# interpreter check interval

# ------------ Log file names ----------------
# Just like in the environment file, if
# you set unqualified names here they'll become /var/log/zope/instance/<instance_name>/...
# You may want to also change /etc/logrotate.d/zope if you move the log files

-l Z2.log	 # this is supposedly the same as, and overridden by, the environment variable "LOG_FILE" -- but in zope 2.6.1 that seems not to work
# -M monitor.log # this is supposedly the same as, and overridden by, the environment variable "DETAILED_LOG_FILE" -- but in zope 2.6.1 that seems not to work
