def run_systemdrun(<EOL>self, command, internal_background=False, return_full_dict=False,<EOL>**kwargs):
internalkw = deepcopy(kwargs) or {}<EOL>original_ignore_st = internalkw.get("<STR_LIT>", False)<EOL>original_return_st = internalkw.get("<STR_LIT>", False)<EOL>internalkw["<STR_LIT>"] = True<EOL>internalkw["<STR_LIT>"] = False<EOL>unit_name = constants.CONU_ARTIFACT_TAG + "<STR_LIT>" + random_str()<EOL>opts = ["<STR_LIT>", self.name, "<STR_LIT>", unit_name]<EOL>lpath = "<STR_LIT>".format(unit_name)<EOL>comout = {}<EOL>if self._run_systemdrun_decide():<EOL><INDENT>add_wait_var = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>add_wait_var = "<STR_LIT>"<EOL><DEDENT>if internal_background:<EOL><INDENT>add_wait_var = "<STR_LIT>"<EOL><DEDENT>if add_wait_var:<EOL><INDENT>opts.append(add_wait_var)<EOL><DEDENT>bashworkaround = [<EOL>"<STR_LIT>",<EOL>"<STR_LIT:-c>",<EOL>"<STR_LIT>".format(<EOL>comm="<STR_LIT:U+0020>".join(command),<EOL>path=lpath)]<EOL>whole_cmd = ["<STR_LIT>"] + opts + bashworkaround<EOL>comout['<STR_LIT>'] = command<EOL>comout['<STR_LIT>'] = run_cmd(whole_cmd, **internalkw) or <NUM_LIT:0><EOL>if not internal_background:<EOL><INDENT>if not self._run_systemdrun_decide():<EOL><INDENT>comout['<STR_LIT>'] = self._systemctl_wait_until_finish(<EOL>self.name, unit_name)<EOL><DEDENT>if self.is_running():<EOL><INDENT>self.copy_from(<EOL>"<STR_LIT>".format(<EOL>pin=lpath), "<STR_LIT>".format(<EOL>pin=lpath))<EOL>with open("<STR_LIT>".format(pin=lpath)) as f:<EOL><INDENT>comout['<STR_LIT>'] = f.read()<EOL><DEDENT>self.copy_from(<EOL>"<STR_LIT>".format(<EOL>pin=lpath), "<STR_LIT>".format(<EOL>pin=lpath))<EOL>with open("<STR_LIT>".format(pin=lpath)) as f:<EOL><INDENT>comout['<STR_LIT>'] = f.read()<EOL><DEDENT><DEDENT>logger.debug(comout)<EOL><DEDENT>if not original_ignore_st and comout['<STR_LIT>'] != <NUM_LIT:0>:<EOL><INDENT>raise subprocess.CalledProcessError(comout['<STR_LIT>'], comout)<EOL><DEDENT>if return_full_dict:<EOL><INDENT>return comout<EOL><DEDENT>if original_return_st:<EOL><INDENT>return comout['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>return comout['<STR_LIT>']<EOL><DEDENT>
execute command via systemd-run inside container

:param command: list of command params
:param internal_background: not used now
:param kwargs: pass params to subprocess
:return: dict with result