]> git.stg.codes - stg.git/blob - projects/convertor/convertor.conf
ab8e8e8dba9db7fae9f19d2a5c895a809c06e23f
[stg.git] / projects / convertor / convertor.conf
1 ################################################################################
2 #                   Stargazer Convertor Configuration file                     #
3 ################################################################################
4
5 # The path to directory with server modules
6 # Parameter: required
7 # Value: directory path
8 # Default: /usr/lib/stg
9 ModulesPath = ../stargazer/modules
10
11 #################################################################################Store module
12 # Configure the module that works with the database server
13 # Option - the name of the module without 'mod_' at the beginning and '.so'
14 # in the end ie full name of the module mod_store_files.so
15 <SourceStoreModule store_files>
16
17     # Working server directory, provides data on tariffs, users, administrators.
18     # Parameter: required
19     # Value: directory path
20     WorkDir = ../stargazer/var/stargazer
21
22     # Owner, group and permissions of the files of user statistics (stat)
23     # Parameter: required
24     # Values: any, supported by OS
25     ConfOwner = root
26     ConfGroup = root
27     ConfMode = 600
28
29     # Owner, group and permissions on user configuration files (conf)
30     # Parameter: required
31     # Values: any, supported by OS
32     StatOwner = root
33     StatGroup = root
34     StatMode = 640
35
36     # Owner, group and permissions for user log files (log)
37     # Parameter: required
38     # Values: any, supported by OS
39     UserLogOwner = root
40     UserLogGroup = root
41     UserLogMode = 640
42
43 </SourceStoreModule>
44
45 #<DestStoreModule store_firebird>
46     # Database server address
47     # Parameter: required
48     # Value: IP address or DNS name
49     # Default: localhost
50 #     server = localhost
51
52     # Path to the database on the server or its alias
53     # Parameter: required
54     # Value: file path
55     # Default: /var/stg/stargazer.fdb
56 #     database = /var/stg/stargazer.fdb
57
58     # Database username
59     # Parameter: required
60     # Value: any, supported by database
61     # Default: stg
62 #     user = stg
63
64     # Database password
65     # Parameter: required
66     # Value: any, supported by database
67     # Default: 123456
68 #     password = 123456
69 #</DestStoreModule>
70
71 #<DestStoreModule store_postgresql>
72     # Database server address
73     # Parameter: required
74     # Value: IP address or DNS name
75     # Default: localhost
76 #    server = altair.local
77
78     # Database name
79     # Parameter: required
80     # Value: any, supported by database
81     # Default: stargazer
82 #    database = stg
83
84     # Database username
85     # Parameter: mandatory
86     # Value: any, supported by database
87     # Default: stg
88 #    user = stg
89
90     # Database password
91     # Parameter: required
92     # Value: any, supported by database
93     # Default: 123456
94 #    password = 123456
95
96 #</DestStoreModule>
97
98 <DestStoreModule store_mysql>
99     # Database server address
100     # Parameter: required
101     # Value: IP address or DNS name
102     # Default: localhost
103      dbhost = altair.local
104
105     # Database name
106     # Parameter: required
107     # Value: any, supported by database
108     # Default: stg
109      dbname = stg
110
111     # Database username
112     # Parameter: required
113     # Value: any, supported by database
114     # Default: stg
115      dbuser = stg
116
117     # Database password
118     # Parameter: required
119     # Value: any, supported by database
120     # Default: 123456
121      rootdbpass = 123456
122
123 </DestStoreModule>