]> git.stg.codes - stg.git/blobdiff - projects/stargazer/inst/linux/etc/stargazer/stargazer.conf
Merge branch 'stg-2.409-radius'
[stg.git] / projects / stargazer / inst / linux / etc / stargazer / stargazer.conf
index 004ced0e44e62950825db0ceaf423524b6c20601..bb8ee7c47e4ec7f3ada0ec6fee5f9dff8a6db6e4 100644 (file)
@@ -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