-
Notifications
You must be signed in to change notification settings - Fork 21
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
conmand does not re-read list of consoles on reload #13
Comments
conmand doesn't currently support reloading its config file. You can force reloading via the init script (e.g., As it stands, a Original comment by
|
From Hai Wu on 2013-02-20:
Original comment by |
From Ellsworth Wente on 2013-10-08:
Original comment by |
Hi, Do you have any feel for how hard this would be to implement? I'm looking at the source and get the impression it would be achievable but there may be gotchas I'm not aware of as I'm unfamiliar with the codebase. Mark Original comment by |
It's certainly achievable; it's just a question of time and effort. It will require some extensive restructuring of It's been a while since I've been in that code, but I think you'd need to so something like the following: On the server side, upon receipt of a
On the client side:
I'd need to dig into the code again to formulate a more detailed plan. But the steps above are a starting point. Original comment by |
Thanks Chris, that is very helpful. I think by far the most common use case for this (and indeed mine) would be to add or remove consoles from the configuration dynamically. Given that, do you think that it would be reasonable to add the restriction that only console config entries can be modified? This could be documented as a limitation in the same way that the current limitation is documented. This should simplify the required change and drastically reduce the number of tricky edge cases to consider - e.g. server port number changes etc. Original comment by |
For now, I think it would be fine to restrict reconfiguration to just adding/removing/modifying consoles (i.e., the console directives and global directives). The server directives can be left static. Original comment by |
conman-0.2.7, Ubuntu 10.04
With a running conmand process, the config file is changed from:
to:
and HUP is sent to the conmand process. However, conmand still opens a console for host2 and does not recognize host3.
Original issue reported on code.google.com by
[email protected]
on 27 Mar 2012 at 12:57The text was updated successfully, but these errors were encountered: