diff options
Diffstat (limited to 'segget/segget.conf')
-rw-r--r-- | segget/segget.conf | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/segget/segget.conf b/segget/segget.conf index 616ce1e..a7bccc9 100644 --- a/segget/segget.conf +++ b/segget/segget.conf @@ -242,6 +242,8 @@ user_agent=segget [ui_server] # tuiclient monitors segget's activity by establishing tcp connection # with segget daemon (ui_server part of it). +# Same ip and port are used for WebUI which can be accessed from web +# browser via http://ui_ip:ui_port/ # UI_IP # Define an ip address segget will use to provide access for tuiclients. @@ -292,11 +294,11 @@ request_port=10000 python_path=/usr/bin/python # SCRIPTS_DIR -# Define path to a dir with python scripts. Before establishing connection for +# Define a path to the dir with python scripts. Before establishing connection for # a particular segment via network# segget checks SCRIPTS_DIR. # If SCRIPTS_DIR contains net#.py file, segget will launch schedule() function # from this file to apply settings for connetion and accept or reject this -# segment for the moment. net#.py file is a causual python script file +# segment for the moment. net#.py file is a python script file # with a user-writen schedule() function. # It's necessary to import functions before using get("variable"), # set("variable",value), accept_segment() and reject_segment() in schedule(). @@ -315,7 +317,7 @@ python_path=/usr/bin/python # hour=localtime[3]; # # disable downloading distfiles that have size more than 5 000 000 bytes # # from 8-00 to 22-00. -# if hour>8 and hour<21 and (get("distfile.size"))>5000000: +# if hour>8 and hour<22 and (get("distfile.size"))>5000000: # print "reject because distfile is too big" # reject_segment() # # set speed limit 50 000 cps for distfiles larger than 1 000 000 bytes @@ -346,7 +348,7 @@ python_path=/usr/bin/python # scripts_dir=./scripts scripts_dir=./scripts -# script_socket_path +# SCRIPT_SOCKET_PATH # Segget uses AF_UNIX domain sockets for communication with python. # Specify path for the socket on your filesystem. # NOTE !: Default value can NOT be changed yet (option under development). |