Enabled loading of monitors in etc/, some refactoring and fixes.
This commit is contained in:
parent
7d5e372410
commit
2384c789a7
32 changed files with 167 additions and 28 deletions
|
|
@ -27,9 +27,10 @@ from linspector.core.daemon import Daemon
|
|||
logger = getLogger('linspector')
|
||||
|
||||
|
||||
class Linspector(Daemon):
|
||||
class Linspectord(Daemon):
|
||||
|
||||
def __init__(self, configuration, environment):
|
||||
def __init__(self, configuration, environment, linspector):
|
||||
super().__init__(configuration.get_option('linspector', 'pid_file'))
|
||||
self.__configuration = configuration
|
||||
self.__environment = environment
|
||||
self.__linspector = linspector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue