diff --git a/doc/uhub.conf b/doc/uhub.conf index 4539108..eaf234f 100644 --- a/doc/uhub.conf +++ b/doc/uhub.conf @@ -4,7 +4,8 @@ # # This file is read only to the uhub deamon, and if you # make changes to it while uhub is running you can send a -# HUP signal to it, to reparse configuration (only on UNIX). +# HUP signal to it ( $ killall -HUP uhub ), to reparse configuration (only on UNIX). +# All configuration directives: http://www.uhub.org/config.php # Bind to this port and address # server_bind_addr=any means listen to "::" if IPv6 is supported @@ -38,6 +39,23 @@ file_acl=/etc/uhub/users.conf # Normally this message is sent to clients when connecting. file_motd=/etc/uhub/motd.txt +# Slots\share\hubs limits +limit_max_hubs_user = 0 +limit_max_hubs_reg = 0 +limit_max_hubs_op = 0 +limit_max_hubs = 0 +limit_min_hubs_user = 0 +limit_min_hubs_reg = 0 +limit_min_hubs_op = 0 +limit_min_share = 0 +# Example: +# To require users to share at least 1 GB in order to enter the hub: +# limit_min_share = 1024 +limit_max_share = 0 +limit_min_slots = 0 +limit_max_slots = 0 + + # Configure status message as sent to clients in different circumstances. msg_hub_full = Hub is full msg_hub_disabled = Hub is disabled @@ -61,6 +79,12 @@ msg_ban_permanently = Banned permanently msg_ban_temporarily = Banned temporarily msg_auth_invalid_password = Password is wrong msg_auth_user_not_found = User not found in password database +msg_user_share_size_low = User is not sharing enough +msg_user_share_size_high = User is sharing too much +msg_user_slots_low = User have too few upload slots +msg_user_slots_high = User have too many upload slots +msg_user_hub_limit_low = User is on too few hubs +msg_user_hub_limit_high = User is on too many hubs msg_error_no_memory = No memory