Skip to content

Commit

Permalink
Merge pull request #923 from winston-yallow/remove-sideeffect-from-sy…
Browse files Browse the repository at this point in the history
…stemd-registration

Don't create pods/container when registering systemd unit
  • Loading branch information
p12tic authored May 1, 2024
2 parents 27e27e9 + d31a8b1 commit a73dac2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit a73dac2

Please sign in to comment.