Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uniconfd(8) [debian man page]

UNICONFD(8)						      System Manager's Manual						       UNICONFD(8)

NAME
uniconfd - a daemon program for the UniConf configuration system SYNOPSIS
uniconfd [ OPTIONS ] MOUNT ... DESCRIPTION
UniConf is the One True Configuration system that includes all the others because it has plugin backends and frontends. Or, less grandiosely, it's a lightweight, distributed, cacheable tree of strings. It supports: o retrieving, storing, and enumerating key/value pairs (where both keys and values are strings). o multiple backends where the actual key/value pairs are stored. o multiple frontends for tying it to other configuration architectures. It operates locally, and across a network, allowing you to tie multiple different applications together for distributed computing. Also, it provides notifications in the form of callbacks, so your application can be notified if a configuration key has changed. uniconfd is necessary when you have more than one application, or multiple instances of an application, sharing one configuration. Uni- Conf-enabled applications contact uniconfd which provides notifications when any of their watched keys change. You tell uniconfd which UniConf MOUNT you want it to manage. See the MOUNTS section for more information. OPTIONS
-f Run in the foreground. Do not fork into a separate daemon process. -d, -dd Print debugging messages to the console. The second d increases the verbosity of the messages. -V Print the version number and exit. -a Require authentication on incoming connections. -A Check all accesses against a perms moniker. -p port Listen on a given TCP port. The default is 4111. If port is 0, then listening on TCP is disabled. -s port Listen on a given TCP port wrapped in SSL. The default is 4112. If port is 0, then listening on SSL-over-TCP is disabled. -u filename Listen on a given Unix socket filename. This is disabled by default. MOUNTS
Mounts are UniConf path monikers which are in the form: /SUBTREE=GENERATORS:PATH SUBTREE This is the tree to manage. All trees are descended from the root tree, indicated by a bare slash (/). GENERATORS These are the generators used to read and write key/value pairs. You can chain them with colons. For example, the generator chain: cache:retry:ini will cache the configuration for speed, retry persistently if the data source disappears, and store the data in an INI-formatted file. PATH This is the location where the data is stored. It is dependent on which GENERATORS were specified. For instance, it could be: o a filename (ini:/var/lib/app/config.ini), o a network address, (tcp:open.nit.ca:4111), o or even an empty string (tmp:). Examples: /=tmp: /ca/nit=ssl:open.nit.ca /ca/nit/uniconfd=ini:/var/lib/uniconfd/uniconfd.ini /apps=cache:retry:unix:/var/lib/apps/socket FILES
/etc/uniconfd.conf /var/lib/uniconf/uniconfd.ini /var/lib/uniconf/uniconf.ini AUTHORS
This software was written by the hackers at Net Integration Technologies. Contact us at <wvstreams-dev@lists.nit.ca> UniConfDaemon 4.6.1 August 2004 UNICONFD(8)

Check Out this Related Man Page

inifile(n)						   Parsing of Windows INI files 						inifile(n)

__________________________________________________________________________________________________________________________________________________

NAME
inifile - Parsing of Windows INI files SYNOPSIS
package require Tcl 8.2 package require inifile ?0.2.3? ::ini::open file ?access? ::ini::close ini ::ini::commit ini ::ini::revert ini ::ini::filename ini ::ini::sections ini ::ini::keys ini section ::ini::get ini section ::ini::exists ini section ?key? ::ini::value ini section key ?default? ::ini::set ini section key value ::ini::delete ini section ?key? ::ini::comment ini section ?key? ?text? ::ini::commentchar ?char? _________________________________________________________________ DESCRIPTION
This package provides an interface for easy manipulation of Windows INI files. ::ini::open file ?access? Opens an INI file and returns a handle that is used by other commands. access is the same as the first form (non POSIX) of the open command, with the exception that mode a is not supported. The default mode is r+. ::ini::close ini Close the specified handle. If any changes were made and not written by commit they are lost. ::ini::commit ini Writes the file and all changes to disk. The sections are written in arbitrary order. The keys in a section are written in alphabet- ical order. If the ini was opened in read only mode an error will be thrown. ::ini::revert ini Rolls all changes made to the inifile object back to the last committed state. ::ini::filename ini Returns the name of the file the ini object is associated with. ::ini::sections ini Returns a list of all the names of the existing sections in the file handle specified. ::ini::keys ini section Returns a list of all they key names in the section and file specified. ::ini::get ini section Returns a list of key value pairs that exist in the section and file specified. ::ini::exists ini section ?key? Returns a boolean value indicating the existance of the specified section as a whole or the specified key within that section. ::ini::value ini section key ?default? Returns the value of the named key and section. If specified, the default value will be returned if the key does not exist. If the key does not exist and no default is specified an error will be thrown. ::ini::set ini section key value Sets the value of the key in the specified section. If the section does not exist then a new one is created. ::ini::delete ini section ?key? Removes the key or the entire section and all its keys. A section is not automatically deleted when it has no remaining keys. ::ini::comment ini section ?key? ?text? Reads and modifies comments for sections and keys. To write a section comment use an empty string for the key. To remove all com- ments use an empty string for text. text may consist of a list of lines or one single line. Any embedded newlines in text are prop- erly handled. Comments may be written to nonexistant sections or keys and will not return an error. Reading a comment from a nonex- istant section or key will return an empty string. ::ini::commentchar ?char? Reads and sets the comment character. Lines that begin with this character are treated as comments. When comments are written out each line is preceded by this character. The default is ;. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category inifile of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. CATEGORY
Text processing inifile 0.2.3 inifile(n)
Man Page