1 Star 0 Fork 0

大熊 / telepresence

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Configuration.md 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
Mamadou DIOP 提交于 2015-08-18 20:35 . -

The Telepresence system is configured using cfg files. The main cfg file is named telepresence.cfg and should be on the same directory where the binary is installed unless you run the app with "--config=PATH" argument. The source code contains a sample configuration file to use to get started. The sample configuration is installed after successfully building the system and running "make samples".

The configuration files are parsed using code generated with Ragel tool. A configuration file contains comments, sections and entries:

Comments

A comment starts with #

# I’m a comment
Age = 25 # I’m another comment

Sections

A section name must be enclosed by square brackets. The section name is case insensitive.

# this is a bridge section 
[bridge]

Entries

An entry is a key-value-pair and must be tied to a section. Both the key and the value are case insensitive. The key must not start with a SPACE.

[product] # I’m the section
version = 1.2 # I’m an entry with floating number value
name = telepresence # I’m an entry with a string value
1
https://gitee.com/yumin11522/telepresence.git
git@gitee.com:yumin11522/telepresence.git
yumin11522
telepresence
telepresence
master

搜索帮助