'Create staticmethods that call utils.run with the given service_name
for each command in service_command_generator.
lldpad = SpecificServiceManager("lldpad",
auto_create_specific_service_command_generator())
lldpad.start()
lldpad.stop()
:param service_name: init service name or systemd unit name
:type service_name: str
:param service_command_generator: a sys_v_init or systemd command generator
:type service_command_generator: _ServiceCommandGenerator
:param run: function that executes the commands and return CmdResult object, default utils.run
:type run: function'

def __init__(self, service_name, service_command_generator, service_result_parser, run=utils.run):

    for cmd in service_command_generator.commands:
        setattr(self, cmd, self.generate_run_function(run, getattr(service_result_parser, cmd), getattr(service_command_generator, cmd), service_name))
