Releases
Download latest
All releases
Installation
SimpleCVS
Perl
XS Checksum module
Reference
Configuration files
   Server
   Client
   Web browser
File structure
Startup options
About SimpleCVS
Authors
Sourceforge: project
Sourceforge: homepage
Version changes



SourceForge.net Logo

Reference > Configuration files > Server

The configuration files are located in the folder conf/ residing in the SimpleCVS-folder.


General settings
port TCP port to run the server on. Server uses TCP-sockets.
fork Allow forking (almost like threads). Specify 0 or no for running the server in single threaded mode. Set to 1 or yes to run the server in multithreaded mode.
identkey This should be a string of characters without any spaces. 8-100 character long, use only standard ASCII chars. This key is used to identify a client to see it is authorized to connect to the server. Must match the key specified in the clients config file.
client.
friendly
This switch decides wherethere to use the identkey authentification or not.

Example setup:
#### GENERAL SETTINGS ##################

port: 4444
fork: yes
identkey: AVRYHZFFUEFG
client.friendly: 1


Daemon
daemon.pidfile Filename (and path) where to save the PID file. the PID file holds the Process ID of the server started by the Daemon. This is used to shut down/stop the server.
daemon.out Filename (and path) where to output the log from the server. On unix, this can be set to /dev/null if you don't want any logging. If not set, /dev/null is assumed. This can be a problem on Win, so make sure to set it. Note that all important stuff is automatically logged to .log.cvs in the active projects directory on the server.

Example setup:
#### DAEMON SETTINGS ####################

daemon.pidfile: ./srv-daemon.pid
daemon.out: /dev/null


Projects & users
project.
<projectname>
Define a project, where <projectname> is the directory name and project name. The value of this variable should be an absolute path to the project directory, NOT followed by a "/". Or it can be a relative path, wich will be initialized from the SimpleCVS directory.
user.
<username>.
pass
<username> = the users name. The value of this variable should be the users password.
user.
<username>.
project
<username> = the users name. The value of this variable should be a name of an existing project. This enables the user to access that project.

Example setup:
#### PROJECTS & USERS ###################

project.myproject: /var/SimpleCVS/CVSROOT/myproject

user.joe.pass: abc123
user.joe.project: myproject
user.garry.pass: 321cba
user.garry.project: myproject


Complete example - conf/server.txt
#### GENERAL SETTINGS ##################

port: 4444
fork: yes
identkey: AVRYHZFFUEFG
client.friendly: 1

#### DAEMON SETTINGS ####################

daemon.pidfile: ./srv-daemon.pid
daemon.out: /dev/null

#### PROJECTS & USERS ###################

project.myproject: /var/SimpleCVS/CVSROOT/myproject

user.joe.pass: abc123
user.joe.project: myproject
user.garry.pass: 321cba
user.garry.project: myproject