-
Notifications
You must be signed in to change notification settings - Fork 45
Reload config and read once and services #83
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
Conversation
def reload_conf(self): | ||
self.delete_services() | ||
self.config.reload() | ||
self.init_services() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miguelgrubin an other aproach, we reload config but no restart services and app, @alexppg view that, if we restart the config we must restart the DDBB and other libs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it would be awesome to be able to add to this "restart" feature an abstract way to restart anything. This way, pyms wouldn't need to support every feature ever used but the developer could use it as a function, handler or something like that. @avara1986 @miguelgrubin
No description provided.