X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/49bb9608caa1c4bdb49a4a0069bd017f671d6eb4..0907aa4037b12b6b88ee24495d4577a064d4f8db:/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..bb8ee7c4 100644 --- a/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf +++ b/projects/stargazer/inst/linux/etc/stargazer/stargazer.conf @@ -41,6 +41,12 @@ StatWritePeriod = 10 # Default: 1 DayFee = 1 +# When set to 'no' Stargazer will continue reading database after error and show all of them. +# Parameter: optional +# Values: yes, no +# Default: yes +# StopOnError = yes + # Fee charged at the last (yes) or first (no) day of tariffication period. # Defines how the fee will be charged in the transition to the new tariff. # User has tariff A with fee 100. Changing it to tariff B with fee 200 @@ -87,7 +93,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 +156,59 @@ 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". +# 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, or "*" +# Default: * +# FilterParamsLog = * + ################################################################################ # Store module # Configure the module that works with the database server