Updated
Stop and start calls added Along with refactoring to base line and use decorators. Also modules loaded optionally if enabled in config or not binds to ip / port set from config.json with warning if not localhost TODO: - use argparse in client, and generally clean client up - create unit test - documentation - extend to other RCP commands, after feedback
This commit is contained in:
parent
c2742f0b01
commit
9bbc186b16
@ -95,7 +95,7 @@ class LocalRestSuperWrap(RPC):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
Section to handle configuration and running of the Rest serve
|
Section to handle configuration and running of the Rest serve
|
||||||
also to check and warn if not bound to 127.0.0.1 as a security risk
|
also to check and warn if not bound to 127.0.0.1 as a security risk.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
rest_ip = self._config['rest_cmd_line']['listen_ip_address']
|
rest_ip = self._config['rest_cmd_line']['listen_ip_address']
|
||||||
|
Loading…
Reference in New Issue
Block a user