Handle HTTP redirections automatically.
[doldaconnect.git] / config / doldacond.conf
index 2f4d641..8784fed 100644 (file)
@@ -1,18 +1,35 @@
 # Dolda Connect default configuration file
 
+# This is a sample configuration file. It contains only the most
+# common configuration -- for information on the rest, please see the
+# doldacond.conf(5) manual page.
+
 # Default nick name
 set cli.defnick DoldaConnectUser
 
+# Shares: The syntax is "share sharename sharepath", where sharename
+# is the name of the share as the peers see it, and sharepath is the
+# local path to the shared files.
+share Video /home/pub/video
+share Music /home/pub/audio
+
 # Net mode:
 #  0 - Active
 #  1 - Passive
 #  2 - Will be SOCKS proxy when implemented
 set net.mode 0
 
+# If -1, the daemon will not listen for UI connections over TCP at all
+# (only on a local Unix socket). Please comment the following line to
+# enable listening for TCP UI connections on the default port, but
+# read the INSTALL file first.
+set ui.port -1
+
 # If 1, then accept UI connections only over the loopback interface
 set ui.onlylocal 0
 
-# If 1, then enable authenticationless login (don't use without turning on ui.onlylocal, unless you know what you're doing)
+# If 1, then enable authenticationless login (don't use without
+# turning on ui.onlylocal, unless you know what you're doing)
 set auth.authless 0
 
 set transfer.slots 6
@@ -31,10 +48,6 @@ set dc.speedstring LAN(T1)
 # Description string:
 set dc.desc "Dolda Connect User"
 
-# Shares: "share sharename sharepath", where sharename is the name of the share as the peers see it, and sharepath is the local path to the shared files
-share Video /home/pub/video
-share Music /home/pub/audio
-
 # Allowed users and privileges
 # Syntax is "user username [-]privs..."
 #  username can be default to match any user that doesn't match the other entries