X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/49bb9608caa1c4bdb49a4a0069bd017f671d6eb4..86ef1418d40b676a5ee3514d59e1b96dcc42e271:/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf diff --git a/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf b/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf index 004ced0e..01b0e119 100644 --- a/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf +++ b/projects/stargazer/inst/linux/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,12 +150,54 @@ 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) # MessagesTimeout = 0 +# Defines fee charging rules. +# 0 - classic rules, allow fee charge even cash is negative; +# 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 +# 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