[go: up one dir, main page]

Menu

[227e01]: / etc / flom.conf.in  Maximize  Restore  History

Download this file

82 lines (77 with data), 3.6 kB

#
# Copy this file to @sysconfdir@ and customize it to use as system wide
# flom configuration file
# Copy this file to your home directory, rename it as @_USER_CONFIG_FILENAME@
# and customize it to use as your user default flom configuration file
# Copy this file elsewhere, rename it as you prefer, customize it and use
# as your custom configuration file using -c/--config-file command line
# option
#
# This file uses GLIB key-value file parser syntax; take a look to official 
# GLIB documentations for additional details
#
#
#
# This section (configuration group) is related to tracing
[@_CONFIG_GROUP_TRACE@]
# Destination of trace messages produced by daemon (background) process
# (Uncomment below row if necessary)
#@_CONFIG_KEY_DAEMONTRACEFILE@=/tmp/flom-daemon.trc
# Destination of trace messages produced by command (foreground) process
# (Uncomment below row if necessary)
#@_CONFIG_KEY_COMMANDTRACEFILE@=/tmp/flom-command.trc

# This section (configuration group) is related to locked resource
[@_CONFIG_GROUP_RESOURCE@]
# Name of the resource that must be locked; see function 
# "global_res_name_preg_init" for valid regular expressions
# Alphanumeric characters are OK, but the first character MUST be alphabetic;
# special characters are not accepted
# (Uncomment below row if necessary)
#@_CONFIG_KEY_NAME@=MYRESOURCE123
# Flom command will enqueue if the resource is not available; valid values
# are "yes" and "no" (case insensitive)
# (Uncomment below row if necessary)
#@_CONFIG_KEY_WAIT@=yes
# Flom command will stay enqueued if the resource is not available for a
# maximum number of milliseconds specified by this property;
# the parameter passed will be used as "timeout" argument for "poll" POSIX
# function 
# (Uncomment below row if necessary)
#@_CONFIG_KEY_TIMEOUT@=-1
# Lock mode: a resource can be locked with different modes; FLOM supports
# the same semantic introduced by VMS DLM ad described here:
# http://en.wikipedia.org/wiki/Distributed_lock_manager#Lock_modes
# These values are accepted:
# "NullLock"/"NL" for Null Lock mode
# "ConcurrentRead"/"CR" for Concurrent Read mode
# "ConcurrentWrite"/"CW" for Concurrent Write mode
# "ProtectedRead"/"PR" for Protected Read mode
# "ProtectedWrite"/"PW" for Protected Write mode
# "Exclusive"/"EX" for Exclusive mode
# (Uncomment below row if necessary)
#@_CONFIG_KEY_LOCK_MODE@=Exclusive

# This section (configuration group) is related to daemon and communication 
# between flom command(s) and flom daemon
[@_CONFIG_GROUP_DAEMON@]
# Complete filepath for UNIX socket (AF_LOCAL) used for local communication
# between flom command and flom daemon
# (Uncomment below row if necessary)
#@_CONFIG_KEY_SOCKET_NAME@=/tmp/flom-socket
# Lifespan of activated daemon: it must be an integer value >0 or =0 or <0
# > 0: minimum number of milliseconds the daemon must operate 
# = 0: daemon must not started
# < 0: the daemon must operate forever (until kill command)
# (Uncomment below row if necessary)
#@_CONFIG_KEY_LIFESPAN@=@_DEFAULT_DAEMON_LIFESPAN@
# TCP/IP address used by flom daemon
# (Uncomment below row if necessary)
#@_CONFIG_KEY_UNICAST_ADDRESS@=127.0.0.1
# TCP/IP port used by flom daemon
# (Uncomment below row if necessary)
#@_CONFIG_KEY_UNICAST_PORT@=@_DEFAULT_DAEMON_PORT@
# UDP/IP multicast address used to discover flom daemon unicast address & port
# (Uncomment below row if necessary)
#@_CONFIG_KEY_MULTICAST_ADDRESS@=224.0.0.1
# UDP/IP multicast port used to discover flom daemon unicast address & port
# (Uncomment below row if necessary)
#@_CONFIG_KEY_MULTICAST_PORT@=@_DEFAULT_DAEMON_PORT@