billing:howto:mbp_config

Это старая версия документа!


Конфигурация MB+

Создать файл config.ini в

/var/www/mikbill/admin/app/etc/

с содержимым:

[daemon]
; x.name = service name
; x.desc = description
; x.init = init script
; x.pattern = pid name
; x - position in mbp list

1.name = "Mikbill";
1.desc = "Billing";
1.init = "/etc/init.d/mikbill";
1.pattern = "mikbill";

2.name = "MySQL";
2.desc = "Database";
2.init = "/etc/init.d/mysqld";
2.pattern = "mysqld";

3.name = "Radius";
3.desc = "AAA Server";
3.init = "/etc/init.d/radiusd";
3.pattern = "radiusd";

4.name = "DHCP";
4.desc = "DHCP server";
4.init = "/etc/init.d/dhcpd";
4.pattern = "dhcpd";

5.name = "NameD";
5.desc = "DNS server";
5.init = "/etc/init.d/named";
5.pattern = "named";

[logs]
; x.name = Log name
; x.file = path to file
; x.lines = lines count

1.name = Admin
1.file = /var/www/mikbill/admin/app/log/log.txt
1.lines = 20

2.name = Stat
2.file = /var/www/mikbill/stat/app/log/log.txt
2.lines = 20

3.name = Stat Html5
3.file = /var/www/mikbill/stat/app/log/html5.log
3.lines = 20

4.name = MB exec log
4.file = /var/www/mikbill/admin/app/log/shell_log.txt
4.lines = 20

5.name = MB exec error
5.file = /var/www/mikbill/admin/app/log/shell_log_error.txt
5.lines = 20

6.name = MB Kernel
6.file = /var/log/mikbill.log
6.lines = 20

7.name = MB Kernel exec
7.file = /var/log/mbkernel_shell_log.txt
7.lines = 20

8.name = MB Kernel exec error
8.file = /var/log/mbkernel_shell_error_log.txt
8.lines = 20

9.name = Freeradius log
9.file = /var/log/radius/radius.log
9.lines = 20
  • billing/howto/mbp_config.1493286107.txt.gz
  • Последнее изменение: 7 лет назад
  • alexd