X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e117dbe0816621cb198567763fb1333d79f62e57..8c6fa3fbaccc22127280bf77a48fab5a3ee0716e:/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 4f2cbda9..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 @@ -171,6 +177,38 @@ ModulesPath = /usr/lib/stg # 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