mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-28 19:38:43 +02:00
print more help with systemd
This commit is contained in:
parent
3fb2b98ecc
commit
a9faabb1b0
@ -1729,7 +1729,8 @@ def compose_systemd(compose, args):
|
|||||||
process = subprocess.run([script, "up", "--no-start"])
|
process = subprocess.run([script, "up", "--no-start"])
|
||||||
print("\nfinal exit code is ", process.returncode)
|
print("\nfinal exit code is ", process.returncode)
|
||||||
username = getpass.getuser()
|
username = getpass.getuser()
|
||||||
print(f"""
|
print(
|
||||||
|
f"""
|
||||||
you can use systemd commands like enable, start, stop, status, cat
|
you can use systemd commands like enable, start, stop, status, cat
|
||||||
all without `sudo` like this:
|
all without `sudo` like this:
|
||||||
|
|
||||||
@ -1747,7 +1748,8 @@ you can use podman commands like:
|
|||||||
\t\tpodman pod ps
|
\t\tpodman pod ps
|
||||||
\t\tpodman pod stats 'pod_{proj_name}'
|
\t\tpodman pod stats 'pod_{proj_name}'
|
||||||
\t\tpodman pod logs --tail=10 -f 'pod_{proj_name}'
|
\t\tpodman pod logs --tail=10 -f 'pod_{proj_name}'
|
||||||
""")
|
"""
|
||||||
|
)
|
||||||
elif args.action in ("list", "ls"):
|
elif args.action in ("list", "ls"):
|
||||||
ls = glob.glob(os.path.expanduser(f"~/{stacks_dir}/*.env"))
|
ls = glob.glob(os.path.expanduser(f"~/{stacks_dir}/*.env"))
|
||||||
for i in ls:
|
for i in ls:
|
||||||
|
Loading…
Reference in New Issue
Block a user