GNUmed configuration files
GNUmed uses the standard INI style configuration file format. The extension
.conf is used for all config files.
Lists (options spanning several lines) are defined slightly differently from some other INI file parsers. They work very similar to PostgreSQL dollar quoting in stored procedures. Assume we want to define a list
users in a group
preferences. This would be the relevant section in the config file:
[preferences]
users = $users$
McCoy
Spock
Kirk
$users$
Default configuration files
GNUmed uses a few built-in configuration file names. All of them can be overriden by the command line option
--conf-file=FILE
where
FILE
is the name of the configuration file you want to use instead. Make sure this file is writable by the user as it will be used to store default settings.
GNUmed will try to work around missing configuration files by providing sensible defaults without exhibiting surprising behaviour.
/etc/gnumed/gnumed-client.conf
This file can be used to define system-wide backend profiles. Those profiles will be available through the login dialog in addition to those defined elsewhere. The file will be opened read-only.
On non-Unix systems this file will be stored in other directories. Please refer to the
wxPython documentation to find out where.
~/.gnumed/gnumed.conf
Additional backend profiles can be stored in this file. They will be added to the list of profiles available from
/etc/gnumed/gnumed-client.conf
. This file is also used to store user preferences which need to be available before a connection to the database has been made. Therefore the user needs write access to it.
Configuration information about the
workplace,
slave mode and
external patient sources is also found here.
./gnumed.conf
If no
~/.gnumed/gnumed.conf
file is found GNUmed will scan the current directory (from which it was invoked) for a file
gnumed.conf
. This allows starting GNUmed from an arbitrary directory (such as a copy of the CVS tree) without needing a
gnumed.conf
installed in
~/.gnumed/
.
|
Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren. Ideen, Anfragen oder Probleme bezüglich TWiki? Feedback senden
|