From d31a8b124dba896fc683f755fa5895feee334059 Mon Sep 17 00:00:00 2001 From: Winston <44872771+winston-yallow@users.noreply.github.com> Date: Wed, 1 May 2024 19:51:08 +0200 Subject: [PATCH] Don't create pods/container when registering systemd unit Signed-off-by: Winston <44872771+winston-yallow@users.noreply.github.com> --- podman_compose.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/podman_compose.py b/podman_compose.py index 399ccf4..8366f0e 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -2122,8 +2122,6 @@ async def compose_systemd(compose, args): f.write(f"{k}={v}\n") log.debug("writing [%s]: done.", fn) log.info("\n\ncreating the pod without starting it: ...\n\n") - process = await asyncio.create_subprocess_exec(script, ["up", "--no-start"]) - log.info("\nfinal exit code is %d", process) username = getpass.getuser() print( f"""