fix mnesia dir
This commit is contained in:
parent
2f1ceca579
commit
17b537b8c1
|
@ -7,9 +7,6 @@
|
||||||
{sasl, [
|
{sasl, [
|
||||||
{sasl_error_logger, {file, "log/emqttd_sasl.log"}}
|
{sasl_error_logger, {file, "log/emqttd_sasl.log"}}
|
||||||
]},
|
]},
|
||||||
{mnesia, [
|
|
||||||
{dir, "data/mnesia"}
|
|
||||||
]},
|
|
||||||
{ssl, [
|
{ssl, [
|
||||||
%{versions, ['tlsv1.2', 'tlsv1.1']}
|
%{versions, ['tlsv1.2', 'tlsv1.1']}
|
||||||
]},
|
]},
|
||||||
|
|
|
@ -1,9 +1,20 @@
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
## Name of the node
|
## Name of the node
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
-name emqttd@127.0.0.1
|
-name emqttd@127.0.0.1
|
||||||
|
|
||||||
## Cookie for distributed erlang
|
## Cookie for distributed erlang
|
||||||
-setcookie emqttdsecretcookie
|
-setcookie emqttdsecretcookie
|
||||||
|
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
## Mnesia db
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
-mnesia dir "data/mnesia/test"
|
||||||
|
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
## Flags
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
|
||||||
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
|
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
|
||||||
## (Disabled by default..use with caution!)
|
## (Disabled by default..use with caution!)
|
||||||
##-heart
|
##-heart
|
||||||
|
@ -16,6 +27,10 @@
|
||||||
## max process numbers
|
## max process numbers
|
||||||
+P 1000000
|
+P 1000000
|
||||||
|
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
## Env
|
||||||
|
##-------------------------------------------------------------------------
|
||||||
|
|
||||||
## Increase number of concurrent ports/sockets
|
## Increase number of concurrent ports/sockets
|
||||||
-env ERL_MAX_PORTS 4096
|
-env ERL_MAX_PORTS 4096
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue