-
Notifications
You must be signed in to change notification settings - Fork 5
S3 server
albanmartel edited this page May 6, 2014
·
1 revision
h1. S3-server
Command
s3-server (args) Common args : --help Display this documentation --version Display the version number and exit --dbconn (string) Database connection string --logfile (path) Log file path (- = standard output) --param (param)=(value) Global parameters definition Linux specific args : --daemon Run in daemon mode --pidfile PID file (- = no PID file)
sqlite://path=(path of the database file)
mysql://host=(server address),user=(mysql user),passwd=(password),db=(database name)
The default database connection string is :
--dbconn sqlite://path=config.db3
If no dbconn
parameter is defined, then the SQLite database is chosen, and will attempt to find a database file named config.db3
in the current directory (if not found, the file is automatically created).
Parameters are defined by the --param
argument.
Parameter | Default value | Description |
---|---|---|
instance_coordinates_system |
27572 = Lambert II Etendu (french system) |
SRID of objects loaded in the main environment. Must be a projection (needed for distance calculation) |
node_id |
1 | Instance unique identifier (see Fondation SYNTHESE:Numérotation des instances SYNTHESE) |
svn_wc_root_path |
The current directory | The path where the working copies must be stored by Subversion at checkout |
port |
8080 |
The network port of the embedded HTTP server |
nb_threads |
5 |
The number of pre-existing worker threads |
log_level |
1 = Info |
The log level (-1=trace, 0=debug, 1=info, 2=warning, 3=error, 4=fatal, 5=no logs) |
smtp_server |
smtp |
Address of the SMTP server to use when sending mails |
smtp_port |
mail |
Port name or number of the SMTP server to use when sending mails |
session_max_duration |
30 |
Expiration time for unused sessions (in minutes) |
auto_login_user |
Undefined | When defined, logs the specified user (defined by login) into a new session |
city_name_before_place_name |
1 | If 1, the place full names are city and place name, else place name and city |
reservation_contact |
Undefined | ID of the default reservation contact object |
resa_journey_planner_website |
Undefined | ID of the default configuration of the journey planner to use in the reservation module |
Note : the parameters can be defined in the t999_config
table too.
Sidebar
SYNTHESE Documentation
Specifications
Developer documentation
Database
API
CMS template syntax
Interoperability
Administrator manual