The ''general'' section describes some general attributes of the Peep system. These attributes include things such as the version number of the configuration file, and the path to the sound repository. These options are parsed both by the servers and the clients.
A general section looks as follow:
general
version <VERSION NUMBER>
sound-path <PATH TO REPOSITORY>
end general
The version provides a means of indicating that the configuration file is valid only for version of Peep that are greater than the current version specified. This is useful for avoiding sharing newer configuration files with older versions of Peep. As of 0.5.x, peepd will reject the configuration file on start up if the version specified is too high. Version numbers follow the same versioning scheme as peep: x.x.x.
The sound-path directive tells the Peep system where the top-level directory of the sound respository is located. All subsequent refers to sound paths will be relative to this directory. This greatly cuts down on the typing needed to produce a configuration file, as well as makes the configuration file much more straight-forward and easier to maintain.
The following example illustrates a working general section:
general version 0.5.0 # Path where the sounds are stored sound-path /home/mgilfix/peep/peep-0.5.x/sounds end general