mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-17 12:41:00 +02:00
Merge pull request #923 from winston-yallow/remove-sideeffect-from-systemd-registration
Don't create pods/container when registering systemd unit
This commit is contained in:
commit
a73dac2e39
@ -2122,8 +2122,6 @@ async def compose_systemd(compose, args):
|
|||||||
f.write(f"{k}={v}\n")
|
f.write(f"{k}={v}\n")
|
||||||
log.debug("writing [%s]: done.", fn)
|
log.debug("writing [%s]: done.", fn)
|
||||||
log.info("\n\ncreating the pod without starting it: ...\n\n")
|
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()
|
username = getpass.getuser()
|
||||||
print(
|
print(
|
||||||
f"""
|
f"""
|
||||||
|
Loading…
Reference in New Issue
Block a user