Runner¶
The runner class implements an IOLoop IOLoop
instance which runs all the onSetup
jobs on loading and schedules the onReload
functionality accordingly.
By default, the runner loads all the MarcoPoloManager
-inherited classes defined in the file managers.py. To include other file, just import it in the runner.py file.
The runner uses standard UNIX signals to reload the system and gracefully stopping all the managers using SIGUSR1 to schedule functionality.
-
marcopolomanager.runner.
main
(argv=None)[source]¶ Starts the daemon and service units. Initializes the runfile and logs and then starts the IOLoop