diff --git a/conf/iobroker-dist.json b/conf/yunkong2-dist.json similarity index 97% rename from conf/iobroker-dist.json rename to conf/yunkong2-dist.json index cb9171f..c5f79cf 100644 --- a/conf/iobroker-dist.json +++ b/conf/yunkong2-dist.json @@ -1,96 +1,96 @@ -{ - "system": { - "memoryLimitMB": 0, - "hostname": "", - "statisticsInterval": 15000, - "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated" - }, - "multihostService": { - "enabled": false, - "secure": true - }, - "network": { - "IPv4": true, - "IPv6": true, - "bindAddress": null - }, - "objects" : { - "type": "file", - "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", - "host": "127.0.0.1", - "port": 9001, - "user": "", - "pass": "", - "noFileCache": false, - "connectTimeout": 2000, - "backup": { - "disabled": false, - "files": 24, - "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", - "hours": 48, - "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", - "period": 120, - "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", - "path": "", - "pathComment": "Absolute path to backup directory or empty to backup in data directory" - } - }, - "states" : { - "type": "file", - "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].", - "host": "127.0.0.1", - "port": 9000, - "maxQueue": 1000, - "options": { - "auth_pass" : null, - "retry_max_delay" : 15000 - }, - "backup": { - "disabled": false, - "files": 24, - "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", - "hours": 48, - "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", - "period": 120, - "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", - "path": "", - "pathComment": "Absolute path to backup directory or empty to backup in data directory" - } - }, - "log": { - "level": "info", - "maxDays": 7, - "noStdout": true, - "transport": { - "file1": { - "type": "file", - "enabled": true, - "filename": "log/yunkong2", - "fileext": ".log", - "maxsize": null, - "maxFiles": null - }, - "syslog1": { - "type": "syslog", - "enabled": false, - - "host": "localhost", - "host_comment": "The host running syslogd, defaults to localhost.", - - "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", - - "protocol": "udp4", - "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", - - "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", - "facility_comment": "Syslog facility to use (Default: local0).", - "localhost": "yunkong2", - "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).", - "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).", - "app_name_comment": "The name of the application (Default: process.title).", - "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)." - } - } - }, - "dataDirComment": "Always relative to yunkong2.js-controller/" +{ + "system": { + "memoryLimitMB": 0, + "hostname": "", + "statisticsInterval": 15000, + "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated" + }, + "multihostService": { + "enabled": false, + "secure": true + }, + "network": { + "IPv4": true, + "IPv6": true, + "bindAddress": null + }, + "objects" : { + "type": "file", + "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].", + "host": "127.0.0.1", + "port": 9001, + "user": "", + "pass": "", + "noFileCache": false, + "connectTimeout": 2000, + "backup": { + "disabled": false, + "files": 24, + "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", + "hours": 48, + "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", + "period": 120, + "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", + "path": "", + "pathComment": "Absolute path to backup directory or empty to backup in data directory" + } + }, + "states" : { + "type": "file", + "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].", + "host": "127.0.0.1", + "port": 9000, + "maxQueue": 1000, + "options": { + "auth_pass" : null, + "retry_max_delay" : 15000 + }, + "backup": { + "disabled": false, + "files": 24, + "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings", + "hours": 48, + "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber", + "period": 120, + "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0", + "path": "", + "pathComment": "Absolute path to backup directory or empty to backup in data directory" + } + }, + "log": { + "level": "info", + "maxDays": 7, + "noStdout": true, + "transport": { + "file1": { + "type": "file", + "enabled": true, + "filename": "log/yunkong2", + "fileext": ".log", + "maxsize": null, + "maxFiles": null + }, + "syslog1": { + "type": "syslog", + "enabled": false, + + "host": "localhost", + "host_comment": "The host running syslogd, defaults to localhost.", + + "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).", + + "protocol": "udp4", + "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).", + + "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).", + "facility_comment": "Syslog facility to use (Default: local0).", + "localhost": "yunkong2", + "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).", + "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).", + "app_name_comment": "The name of the application (Default: process.title).", + "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)." + } + } + }, + "dataDirComment": "Always relative to yunkong2.js-controller/" } \ No newline at end of file