Condi:Help:Configuration

From Freehackers

Jump to: navigation, search

Back to Condi

daemon configuration (CONDI_HOME/etc/daemon.conf)

# daemon section
[daemon]
nice = 19           # daemon niceness, default = 19
bind = hostname     # bind to specific address, default = (all)
port = 5820         # listen port, default = 5820
peer = peer1, peer2 # peer to enable (see peer section), default = (no peer)


# client section : where the user interface plug in
[client]
authtype = password # client authentification method, possible values = [ password ], default = password
username = condi    # username accepted, default = condi
password = condi    # password wanted (authtype=password), default = condi
bind = hostname     # wait the client on the specified address, empty = all, default = localhost
port = 5825         # listen port, default = 5825


# peer section, example
[peer peer1]
share = share1, share2  # what is shared on this peer, see share section
authtype = key          # peer authentification method. Possible values = [ key ], default = key
authorized = peer1.keys # list of files which contains the public keys accepted, one per line (location: etc/ssh)
neighbour = hostname1, hostname2    # list of neighbours to contact first, default = EMPTY


# share section, example
[share share1]
path = /path1, /path2       # list of absolute path to share
exclude_path = /path1/sub   # list of absolute path to exclude from share


# categories section : associate filename extension to a file type
[categories]
mycat = myext
# by default, here are the defined categories :
#sound = mp3, ogg, wma
#video = avi, mpg, ogm, mpeg, wmv
Personal tools