
# Configuration of CDWserver
# See config.html for details


# 1. Features

#	audioCDSupport on|off
#
#	Turn audio CD support on/off.
#
#audioCDSupport=on

#	cdrdao on|off
#
#	Experimental use of cdrdao to copy audio and data CDs.
#
#cdrdao=on

#	copySupport on|off
#
#	Offer the possibility to burn "on the fly" copies of
#	data CDs on the server. This requires a real or a simulated
#	SCSI CD-ROM drive.
#
#copySupport=on

#	imageOnTheFly on|off
#
# Generating the CD image while burning? This way you won't need extra
# disk space for the image and save time.
# Make sure that your hardware is able to do this by running a test
# without laser and at maxSpeed.
#
#imageOnTheFly=on

# do everything with laser turned on or off (see cdrecord -dummy)
#
#laser=on

# if you want to offer decoding of MP3s for audio CDs, install mpg123
# (see http://www.mpg123.de) and set this switch to on
#
#MP3decoding=on

# Activate overburning for writers that support it.
#
#overburnSupport=off

# Choose the special cdrecord arguments your writer needs for
# overburning.
#
#overburnSupportArgs=-dao -overburn

# simulation
#
#simulation=off

# Store file names using UTF-8. This currently requires a special
# mkisofs.
#
#useUTF8=off

# Verify the contents of the CD after writing it.
#
#verify=on

# writeProtection
#
#writeProtection=on


# 2. Server

# the main port of CDWserver
#
portNo=12411

# Limit to the number of clients that could be connected
# to CDWserver at the same time.
#
#maxOpenConnections=10


# 3. Directories

# directory of a software archive on the server
#
#exportDir=/etc/CDWserver/export

# directory containing version.log, version.vlog, connects, sessions
# and a per user directory containing output of mkisofs and cdrecord
#
#logDir=/var/log/CDWserver

# directory of the cache
#
#spoolDir=/var/spool/CDWserver


# 4. Cache

# Limit to the disk usage for the sessions. If you don't use
# imageOnTheFly, you will need an extra maxMBytesPerSession
# for the temporary imagefile.
#
#maxMBytesInSpoolDir=4000

# limit to the size of a single session
#
#maxMBytesPerSession=800

# how many users can at the same time transmit their files to the server
#
#maxOpenSessions=3

# MBs that are kept free on the spool filesystem
#
#reservedMBytes=10


# 5. CD-ROM(s) and CD-writer(s)

# The speed suggested to the users for CD-Rs.
#
#defaultSpeed=8

# The speed suggested to the users for CD-RWs.
#
#defaultSpeedCD-RW=4

#	useBurnFree on|off
#
#	Use "burnfree" if supported by the writer.
#
#useBurnFree=on


# 6. Programs

# growisofs
#
#growisofsPath=/usr/bin/growisofs

# mpg123 (optional for converting MP3s to WAVs for audio CDs)
#
#mpg123Path=/usr/bin/mpg123

# ogg123
#
#ogg123Path=/usr/bin/ogg123

# sox
#
#soxPath=/usr/bin/sox


# 7. Options

# anonymousUse on|off
# Should it be possible to burn a CD without an account?
#
#anonymousUse=on

# special arguments to cdrdao
#
#cdrdaoArgs=--source-driver generic-mmc-raw --driver generic-mmc

# special arguments to cdrecord
#
#cdrecordArgs=

# debug tag{,tag}
#
#	Selective debugging messages
#	available tags:
#		Process				execution of child processes
#		Server::noDisc()	CD detection
#
#debug=

# the files contained in this directory should be included in each session
#defaultFilesDir=/etc/CDWserver/default_files

# ejectOnDone on|off
#
#	For special purposes you may disable CD ejection.
#
#ejectOnDone=on

# ejectOnReservation on|off
#
#	To avoid writing to the CD of the wrong user
#	make sure the CDs are inserted after reservation.
#
#ejectOnReservation=on

# address to inform if CD writing fails
#eMailOnError=unknown@unknown.org

# logLevel <level>
#	0 = off
#	1 = startup and shutdown
#	2 = connects
#	3 = some client requests
#	4 = more messages
#	5 = output of some sub processes
#	7 = all client requests
#	8 = some debug messages
#	9 = all debug messages (for selective debugging use "debug=tag")
#logLevel=1

# logo of the status page
#logoURL=http://unknown.org/logo.jpg

# a limit to the number of copies you can burn at once
#
#maxCopies=10

# special arguments to mkisofs
#
#mkisofsArgs=

# name of your organization (is written to the CD)
organization=unknown

# Normally CDWserver removes the oldest session when running
# out of disk space. By the option removeSessions you can
# tell it to remove the sessions when they are closed.
removeSessions=off

# show the users on the status page
showUsers=on

# time limit between reservation and detection of a CD
waitForCD=10
