X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cc7685dc764b43b8a9a061f4a38549f1c04fe047..86ef1418d40b676a5ee3514d59e1b96dcc42e271:/projects/stargazer/inst/freebsd/etc/stargazer/stargazer.conf diff --git a/projects/stargazer/inst/freebsd/etc/stargazer/stargazer.conf b/projects/stargazer/inst/freebsd/etc/stargazer/stargazer.conf index 55efa6ac..01b0e119 100644 --- a/projects/stargazer/inst/freebsd/etc/stargazer/stargazer.conf +++ b/projects/stargazer/inst/freebsd/etc/stargazer/stargazer.conf @@ -87,7 +87,7 @@ WriteFreeMbTraffCost = yes # Parameter: optional # Values: yes, no # Default: no -FullFee = yes +FullFee = no # Allow user to see and use a full cash (yes) or hide a part of it (no) # for the next fee charge @@ -150,7 +150,7 @@ ModulesPath = /usr/lib/stg #MonitorDir=/var/stargazer/monitor # Defines message maximum lifetime -# Note: 0 — unlimited +# Note: 0 - unlimited # Parameter: optional # Value: any numeric # Default: 0 (day) @@ -161,10 +161,43 @@ ModulesPath = /usr/lib/stg # 1 - disallow fee charge if cash value is negative; # 2 - disallow fee charge if there is not enought cash (cash < fee). # Parameter: optional -# Value: 0 - 2 +# Value: 0 ... 2 # Default: 0 (classic) # FeeChargeType = 0 +# Enable or disable reconnect on tariff change +# Parameter: optional +# Values: yes, no +# Default: no +# ReconnectOnTariffChange = no + +# Definest set of parameters passed to OnConnect and OnDisconnect scripts +# This set is added to the end of the default param list, which are, respectively: +# login, ip, cash, id, dirs +# Valid parameter names: "cash", "upload", "download", "lastCashAdd", "passiveTime", +# "lastCashAddTime", "freeMb", "lastActivityTime", "password", "passive", "disabled", +# "disabledDetailStat", "alwaysOnline", "tariffName", "nextTariff", "address", +# "note", "group", "email", "phone", "realName", "credit", "creditExpire", "ips", +# "userdata0" ... "userdata9". +# Parameter: optional +# Values: parameter names, case insensitive +# Default: +# ScriptParams = + +# Enable or disable writing session log +# Parameter: optional +# Values: yes, no +# Default: no (session log is enabled) +# DisableSessionLog = no + +# Filter for logging parameter changes +# Defines which parameters will be logged to parameter log in database. Allows +# to specify multiuple parameter names or asterisk (*), which means "log all params". +# Parameter: optional +# Values: parameter names, case insensitive, or "*" +# Default: * +# FilterParamsLog = * + ################################################################################ # Store module # Configure the module that works with the database server