File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1742,7 +1742,7 @@ def compose_systemd(compose, args):
1742
1742
"""
1743
1743
create systemd unit file and register its compose stacks
1744
1744
1745
- When first installed type `sudo podman-compose -a create-unit`
1745
+ When first installed type `podman-compose -a create-unit`
1746
1746
later you can add a compose stack by running `podman-compose -a register`
1747
1747
then you can start/stop your stack with `systemctl --user start podman-compose@<PROJ>`
1748
1748
"""
@@ -1789,7 +1789,7 @@ def compose_systemd(compose, args):
1789
1789
for i in ls :
1790
1790
print (os .path .basename (i [:- 4 ]))
1791
1791
elif args .action == "create-unit" :
1792
- fn = "/usr/lib /systemd/user/podman-compose@.service"
1792
+ fn = f" { config_home } /systemd/user/podman-compose@.service"
1793
1793
out = f"""\
1794
1794
# { fn }
1795
1795
@@ -1819,7 +1819,7 @@ def compose_systemd(compose, args):
1819
1819
)
1820
1820
else :
1821
1821
print (out )
1822
- log (f"Could not write to [{ fn } ], use 'sudo' " )
1822
+ log (f"Could not write to [{ fn } ]" )
1823
1823
1824
1824
1825
1825
@cmd_run (podman_compose , "pull" , "pull stack images" )
You can’t perform that action at this time.
0 commit comments