Конфигурация MB+
Создать файл mbp.ini в
/var/mikbill/prod/config/mbp.ini
с содержимым:
[daemon] ; x.name = service name ; x.desc = service description ; x.init = service init script ; x.pattern = service pid name ; x.address = service listen IP address ; x.protocol = service listen protocol ; x.port = service listen port ; x - position in list 1.name = "MySQL" 1.desc = "Database" 1.init = "service mysql" 1.pattern = "mysqld" 1.address = "127.0.0.1" 1.protocol = "tcp" 1.port = 3306 2.name = "Mikbill" 2.desc = "Billing core" 2.init = "service mikbill" 2.pattern = "mikbill" 2.address = "127.0.0.1" 2.protocol = "tcp" 2.port = 22007 3.name = "Freeradius" 3.desc = "AAA Server" 3.init = "service radiusd" 3.pattern = "radiusd" 3.address = "127.0.0.1" 3.protocol = "udp" 3.port = 1812 4.name = "DHCP" 4.desc = "DHCP server" 4.init = "service dhcpd" 4.pattern = "dhcpd" 4.address = "127.0.0.1" 4.protocol = "udp" 4.port = 67 5.name = "Unbound" 5.desc = "DNS server" 5.init = "service unbound" 5.pattern = "unbound" 5.address = "127.0.0.1" 5.protocol = "udp" 5.port = 53 [logs] ; x.name = Log name ; x.file = path to file ; x.lines = lines count 1.name = Admin 1.file = /var/log/mikbill/admin/general.log 1.lines = 20 2.name = Stat 2.file = /var/log/mikbill/stat/general.log 2.lines = 20 3.name = Admin debug 3.file = /var/log/mikbill/admin/debug.log 3.lines = 20 4.name = Stat debug 4.file = /var/log/mikbill/stat/debug.log 4.lines = 20 5.name = MB Kernel 5.file = /var/log/mikbill.log 5.lines = 20 6.name = Freeradius log 6.file = /var/log/radius/radius.log 6.lines = 20