# Parameter: required
# Value: directory path
# Default: /usr/lib/stg
-ModulesPath = /usr/lib/stg
+ModulesPath = ../stargazer/modules
-#################################################################################
-Store module
+#################################################################################Store module
# Configure the module that works with the database server
# Option - the name of the module without 'mod_' at the beginning and '.so'
# in the end ie full name of the module mod_store_files.so
# Working server directory, provides data on tariffs, users, administrators.
# Parameter: required
# Value: directory path
- WorkDir = /var/stargazer
+ WorkDir = ../stargazer/var/stargazer
# Owner, group and permissions of the files of user statistics (stat)
# Parameter: required
# Parameter: required
# Value: IP address or DNS name
# Default: localhost
- # server = localhost
+# server = localhost
# Path to the database on the server or its alias
# Parameter: required
# Value: file path
# Default: /var/stg/stargazer.fdb
- # database = /var/stg/stargazer.fdb
+# database = /var/stg/stargazer.fdb
# Database username
# Parameter: required
# Value: any, supported by database
# Default: stg
- # user = stg
+# user = stg
# Database password
# Parameter: required
# Value: any, supported by database
# Default: 123456
- # password = 123456
+# password = 123456
#</DestStoreModule>
-<DestStoreModule store_postgresql>
+#<DestStoreModule store_postgresql>
# Database server address
# Parameter: required
# Value: IP address or DNS name
# Default: localhost
- server = localhost
+# server = altair.local
# Database name
# Parameter: required
# Value: any, supported by database
# Default: stargazer
- database = stargazer
+# database = stg
# Database username
# Parameter: mandatory
# Value: any, supported by database
# Default: stg
- user = stg
+# user = stg
# Database password
# Parameter: required
# Value: any, supported by database
# Default: 123456
- password = 123456
+# password = 123456
-</DestStoreModule>
+#</DestStoreModule>
-#<DestStoreModule store_mysql>
+<DestStoreModule store_mysql>
# Database server address
# Parameter: required
# Value: IP address or DNS name
# Default: localhost
- # dbhost = localhost
+ dbhost = altair.local
# Database name
# Parameter: required
# Value: any, supported by database
# Default: stg
- # dbname = stg
+ dbname = stg
# Database username
# Parameter: required
# Value: any, supported by database
# Default: stg
- # dbuser = stg
+ dbuser = stg
# Database password
# Parameter: required
# Value: any, supported by database
# Default: 123456
- # rootdbpass = 123456
+ rootdbpass = 123456
-#</DestStoreModule>
+</DestStoreModule>