Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"-heart" option for EMQ 2.0 #754

Closed
jsaveljevs opened this issue Nov 7, 2016 · 2 comments
Closed

"-heart" option for EMQ 2.0 #754

jsaveljevs opened this issue Nov 7, 2016 · 2 comments

Comments

@jsaveljevs
Copy link

jsaveljevs commented Nov 7, 2016

Hi,

Since /etc/vm.args seems to be no longer supported for 2.0, is there any way to pass -heart option for VM arguments without modifying /bin/emqttd?

Also, is -heart a good choice for auto-restarting emqttd service? I've looked for working systemd script (e.g. #706), but none of them worked for me.

Thanks!

@emqplus
Copy link
Contributor

emqplus commented Nov 9, 2016

@jsaveljevs, We added a new configuration for '-heart' in etc/emq.conf:

## vm.args: -heart
## Heartbeat monitoring of an Erlang runtime system
## Value should be 'on' or comment the line
## node.heartbeat = on

turtleDeng pushed a commit that referenced this issue Nov 9, 2016
Fix issue #754 and open 8884 port(wss) by default
@jsaveljevs
Copy link
Author

@emqplus thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants