mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-10 18:48:25 +02:00
add systemd -a list
This commit is contained in:
parent
1a72e1e087
commit
b35b7e448a
@ -1727,7 +1727,7 @@ def compose_systemd(compose, args):
|
||||
f"""later you can use use enable, start, stop, status, cat
|
||||
like this `systemctl --user enable --now podman-compose@{proj_name}`"""
|
||||
)
|
||||
elif args.action == "list" or args.action == "ls":
|
||||
elif args.action in ("list", "ls"):
|
||||
ls = glob.glob(os.path.expanduser(f"~/{stacks_dir}/*.env"))
|
||||
for i in ls:
|
||||
print(os.path.basename(i[:-4]))
|
||||
|
Loading…
Reference in New Issue
Block a user